expectBody method

TestResponse expectBody(
  1. Object? matcher
)

fail the test when the text body does not match matcher

Implementation

TestResponse expectBody(Object? matcher) {
  expect(body, matcher);
  return this;
}