http4k-testing-kotest
Toggle table of contents
6.20.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k-testing-kotest
http4k-testing-kotest
/
org.http4k.kotest
/
shouldHaveBody
should
Have
Body
infix
fun
HttpMessage
.
shouldHaveBody
(
expected
:
Matcher
<
Body
>
)
(
source
)
@
JvmName
(
name
=
"shouldHaveBodyNullableStringMatcher"
)
infix
fun
HttpMessage
.
shouldHaveBody
(
expected
:
Matcher
<
String
?
>
)
(
source
)
@
JvmName
(
name
=
"shouldHaveBodyStringMatcher"
)
infix
fun
HttpMessage
.
shouldHaveBody
(
expected
:
Matcher
<
String
>
)
(
source
)
infix
fun
HttpMessage
.
shouldHaveBody
(
expected
:
String
)
(
source
)
infix
fun
HttpMessage
.
shouldHaveBody
(
expected
:
Regex
)
(
source
)
fun
<
T
>
HttpMessage
.
shouldHaveBody
(
lens
:
BodyLens
<
T
>
,
matcher
:
Matcher
<
T
>
)
(
source
)