expectBody method
fail the test when the text body does not match matcher
Implementation
TestResponse expectBody(Object? matcher) {
expect(body, matcher);
return this;
}
fail the test when the text body does not match matcher
TestResponse expectBody(Object? matcher) {
expect(body, matcher);
return this;
}