expectNotExists method

void expectNotExists(
  1. String id
)

Implementation

void expectNotExists(String id) {
  if (finderForId(id).evaluate().isNotEmpty) {
    throw EnsembleTestFailure('Expected widget with id "$id" to not exist.');
  }
}