api

http4k / org.http4k.kotest / shouldHaveBody

shouldHaveBody

infix fun HttpMessage.shouldHaveBody(expected: Matcher<Body>): Unit @JvmName("shouldHaveBodyNullableStringMatcher") infix fun HttpMessage.shouldHaveBody(expected: Matcher<String?>): Unit infix fun HttpMessage.shouldHaveBody(expected: String): Unit infix fun HttpMessage.shouldHaveBody(expected: Regex): Unit fun <T> HttpMessage.shouldHaveBody(lens: BodyLens<T>, matcher: Matcher<T>): Unit