Class BodyAssertion<T>

  • Type Parameters:
    T - The body type

    public final class BodyAssertion<T>
    extends java.lang.Object
    HTTP Response's body assertions.
    • Method Detail

      • evaluate

        public void evaluate​(T body)
        Evaluates the HTTP Response Body.
        Parameters:
        body - The HTTP Response Body
      • getBodyType

        public java.lang.Class<T> getBodyType()
        Returns:
        The expected body type