expectBody function
Expects the response body to match the given expectedBody
.
Implementation
void expectBody(
Response response,
String expectedBody,
) =>
expect(response.body(), completion(equals(expectedBody)));
Expects the response body to match the given expectedBody
.
void expectBody(
Response response,
String expectedBody,
) =>
expect(response.body(), completion(equals(expectedBody)));