matchesState method

bool matchesState(
  1. String path,
  2. dynamic expected
)

Implementation

bool matchesState(String path, dynamic expected) {
  try {
    expectState(path, expected);
    return true;
  } on EnsembleTestFailure {
    return false;
  }
}