expectExists method

void expectExists(
  1. String id
)

Implementation

void expectExists(String id) {
  if (finderForId(id).evaluate().isEmpty) {
    throw EnsembleTestFailure(
      'Expected widget with id "$id" to exist. ${widgetIdFailureHint(id)}',
    );
  }
}