Interface BodyAssertion.AssertionBuilder<T,E>

Type Parameters:
T - The body type
E - The error type
All Known Implementing Classes:
BodyAssertion.ByteArrayBodyAssertionBuilder, BodyAssertion.StringBodyAssertionBuilder
Enclosing class:
BodyAssertion<T,E>

public static interface BodyAssertion.AssertionBuilder<T,E>
The interface for typed BodyAssertion Builders.
  • Method Details

    • contains

      BodyAssertion<T,E> contains()
      Returns:
      a body assertion which verifiers the HTTP Response's body contains the expected body
    • equals

      BodyAssertion<T,E> equals()
      Returns:
      a body assertion which verifiers the HTTP Response's body is equals to the expected body