All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.rest.stubs.ResponseLogSpecificationStub Maven / Gradle / Ivy

There is a newer version: 4.2.8
Show newest version
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