Package io.micronaut.http.server.tck
Interface BodyAssertion.AssertionBuilder<T>
-
- Type Parameters:
T- The body type
- All Known Implementing Classes:
BodyAssertion.ByteArrayBodyAssertionBuilder,BodyAssertion.StringBodyAssertionBuilder
- Enclosing class:
- BodyAssertion<T>
public static interface BodyAssertion.AssertionBuilder<T>The interface for typed BodyAssertion Builders.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BodyAssertion<T>contains()BodyAssertion<T>equals()
-
-
-
Method Detail
-
contains
BodyAssertion<T> contains()
- Returns:
- a body assertion which verifiers the HTTP Response's body contains the expected body
-
equals
BodyAssertion<T> equals()
- Returns:
- a body assertion which verifiers the HTTP Response's body is equals to the expected body
-
-