java.lang.Object
net.serenitybdd.screenplay.BaseConsequence<io.restassured.response.Response>
net.serenitybdd.screenplay.rest.questions.ResponseConsequence
All Implemented Interfaces:
net.serenitybdd.screenplay.Consequence<io.restassured.response.Response>

public class ResponseConsequence extends net.serenitybdd.screenplay.BaseConsequence<io.restassured.response.Response>
  • Field Summary

    Fields inherited from class net.serenitybdd.screenplay.BaseConsequence

    explanation, subjectText
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    evaluateFor(net.serenitybdd.screenplay.Actor actor)
     
    seeThatResponse(String message, Consumer<io.restassured.response.ValidatableResponse> expression)
     
    seeThatResponse(Consumer<io.restassured.response.ValidatableResponse> expression)
     
     

    Methods inherited from class net.serenitybdd.screenplay.BaseConsequence

    addRecordedInputValuesTo, after, because, errorFrom, inputValues, orComplainWith, orComplainWith, performSetupActionsAs, thisStepShouldBeIgnored, throwComplaintTypeErrorIfSpecified, whenAttemptingTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • evaluateFor

      public void evaluateFor(net.serenitybdd.screenplay.Actor actor)
    • seeThatResponse

      public static ResponseConsequence seeThatResponse(String message, Consumer<io.restassured.response.ValidatableResponse> expression)
    • seeThatResponse

      public static ResponseConsequence seeThatResponse(Consumer<io.restassured.response.ValidatableResponse> expression)