matcher library
Custom Matchers for tests.
Functions
-
toStringMatches<
T> (Object valueOrMatcher) → Matcher -
Returns a
Matcherthat matches if the value is of a specified type and if its Object.toString representation matchesvalueOrMatcher.