toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-testing-kotest
/
org.http4k.kotest
/
shouldNotHaveBody
should
Not
Have
Body
infix
fun
HttpMessage
.
shouldNotHaveBody
(
expected
:
Matcher
<
Body
>
)
@
JvmName
(
name
=
"shouldNotHaveBodyNullableStringMatcher"
)
infix
fun
HttpMessage
.
shouldNotHaveBody
(
expected
:
Matcher
<
String
?
>
)
@
JvmName
(
name
=
"shouldNotHaveBodyStringMatcher"
)
infix
fun
HttpMessage
.
shouldNotHaveBody
(
expected
:
Matcher
<
String
>
)
infix
fun
HttpMessage
.
shouldNotHaveBody
(
expected
:
String
)
infix
fun
HttpMessage
.
shouldNotHaveBody
(
expected
:
Regex
)
fun
<
T
>
HttpMessage
.
shouldNotHaveBody
(
lens
:
BodyLens
<
T
>
,
matcher
:
Matcher
<
T
>
)