assertBodyEmpty method
void
assertBodyEmpty()
Asserts empty body.
Implementation
void assertBodyEmpty() {
if (body.isNotEmpty) {
throw TestAssertionError('expected empty body, got "$body"');
}
}
Asserts empty body.
void assertBodyEmpty() {
if (body.isNotEmpty) {
throw TestAssertionError('expected empty body, got "$body"');
}
}