text

fun text(value: String): T(source)

Requires the part content decoded as UTF-8 text to equal value.


fun text(predicate: (String?) -> Boolean): T(source)

Requires the part content decoded as UTF-8 text to satisfy predicate.


fun text(matcher: Matcher<String?>): T(source)

Requires the part content decoded as UTF-8 text to satisfy a Kotest matcher.