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