Package io.micronaut.http.tck
Class BodyAssertion.StringBodyAssertionBuilder
java.lang.Object
io.micronaut.http.tck.BodyAssertion.Builder
io.micronaut.http.tck.BodyAssertion.StringBodyAssertionBuilder
- All Implemented Interfaces:
BodyAssertion.AssertionBuilder<String,
String>
- Enclosing class:
- BodyAssertion<T,
E>
public static class BodyAssertion.StringBodyAssertionBuilder
extends BodyAssertion.Builder
implements BodyAssertion.AssertionBuilder<String,String>
String BodyAssertion Builder.
-
Constructor Summary
-
Method Summary
Methods inherited from class io.micronaut.http.tck.BodyAssertion.Builder
body, body
-
Constructor Details
-
StringBodyAssertionBuilder
-
-
Method Details
-
contains
- Specified by:
contains
in interfaceBodyAssertion.AssertionBuilder<String,
String> - Returns:
- a body assertion which verifiers the HTTP Response's body contains the expected body
-
equals
- Specified by:
equals
in interfaceBodyAssertion.AssertionBuilder<String,
String> - Returns:
- a body assertion which verifiers the HTTP Response's body is equals to the expected body
-