beEmpty method
Asserts that the dictionary does not contain any items.
Implementation
MapAssertions beEmpty() {
if (isReversed) {
Execute.assertion.forCondition(subject!.isEmpty).failWith(
'$subjectLabel should not be empty\n but does',
);
} else {
Execute.assertion.forCondition(subject!.isNotEmpty).failWith(
'$subjectLabel should be empty\nbut has count\n ${subject!.length}',
);
}
return MapAssertions(subject);
}