- All Implemented Interfaces:
net.serenitybdd.core.SkipNested, net.serenitybdd.markers.CanBeSilent, Interaction, Performable
public class Ensure
extends Object
implements Interaction, net.serenitybdd.markers.CanBeSilent
-
Constructor Summary
Constructors
Ensure(String description,
Consumer<io.restassured.response.ValidatableResponse> check,
boolean isSilent)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Ensure
public Ensure(String description,
Consumer<io.restassured.response.ValidatableResponse> check,
boolean isSilent)
-
Method Details
-
-
that
public static Ensure that(String description,
Consumer<io.restassured.response.ValidatableResponse> check)
-
silentlyThat
public static Ensure silentlyThat(Consumer<io.restassured.response.ValidatableResponse> check)
-
isSilent
public boolean isSilent()
- Specified by:
isSilent in interface net.serenitybdd.markers.CanBeSilent