body Text Matches
Matches the request body string against a Predicate.
Return
This builder instance.
Parameters
predicate
A Predicate applied to the request body string.
fun bodyTextMatches(description: String?, predicate: Predicate<String?>): JavaRequestSpecificationBuilder<P>(source)
Matches the request body string against a Predicate, with a description.
Return
This builder instance.
Parameters
description
Human-readable label shown in mismatch reports.
predicate
A Predicate applied to the request body string.