andContext method
- Object? context
Also asserts context — accepts a plain value (wrapped in equals) or any Matcher.
Implementation
FailureMatcher andContext(Object? context) =>
FailureMatcher._withContext(_expectedOutcomes, context is Matcher ? context : equals(context));