Class Ensure
java.lang.Object
net.serenitybdd.screenplay.rest.interactions.Ensure
- All Implemented Interfaces:
SkipNested,Interaction,Performable
public class Ensure extends java.lang.Object implements Interaction
-
Constructor Summary
Constructors Constructor Description Ensure(java.lang.String description, java.util.function.Consumer<io.restassured.response.ValidatableResponse> check) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.serenitybdd.screenplay.Performable
then
-
Constructor Details
-
Ensure
public Ensure(java.lang.String description, java.util.function.Consumer<io.restassured.response.ValidatableResponse> check)
-
-
Method Details
-
performAs
- Specified by:
performAsin interfacePerformable
-
that
public static Ensure that(java.lang.String description, java.util.function.Consumer<io.restassured.response.ValidatableResponse> check)
-