net.serenitybdd.rest.stubs.ResponseLogSpecificationStub Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serenity-rest-assured Show documentation
Show all versions of serenity-rest-assured Show documentation
Serenity RestAssured integration
package net.serenitybdd.rest.stubs;
import io.restassured.filter.log.LogDetail;
import io.restassured.specification.ResponseLogSpecification;
import io.restassured.specification.ResponseSpecification;
import org.hamcrest.Matcher;
/**
* Created by john on 23/07/2015.
*/
public class ResponseLogSpecificationStub implements ResponseLogSpecification {
@Override
public ResponseSpecification status() {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification ifError() {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification ifStatusCodeIsEqualTo(final int statusCode) {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification ifStatusCodeMatches(final Matcher matcher) {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification body() {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification body(final boolean shouldPrettyPrint) {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification all() {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification all(final boolean shouldPrettyPrint) {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification everything() {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification everything(final boolean shouldPrettyPrint) {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification headers() {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification cookies() {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification ifValidationFails() {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification ifValidationFails(final LogDetail logDetail) {
return new ResponseSpecificationStub();
}
@Override
public ResponseSpecification ifValidationFails(final LogDetail logDetail, boolean shouldPrettyPrint) {
return new ResponseSpecificationStub();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy