lv.ctco.cukes.graphql.facade.ResponseContentProvider Maven / Gradle / Ivy
package lv.ctco.cukes.graphql.facade;
import io.restassured.response.Response;
import lv.ctco.cukes.core.internal.matchers.JsonMatchers;
public class ResponseContentProvider implements JsonMatchers.ContentProvider {
public static final ResponseContentProvider INSTANCE = new ResponseContentProvider();
@Override
public String getValue(Object o) {
return ((Response) o).getBody().asString();
}
@Override
public String getContentType(Object o) {
return ((Response) o).getContentType();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy