
net.serenitybdd.rest.stubs.PreemptiveAuthSpecStub 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 com.jayway.restassured.specification.PreemptiveAuthSpec;
import com.jayway.restassured.specification.RequestSpecification;
/**
* Created by john on 23/07/2015.
*/
public class PreemptiveAuthSpecStub implements PreemptiveAuthSpec {
@Override
public RequestSpecification basic(final String userName, final String password) {
return new RequestSpecificationStub();
}
}