public void PassesResultOfToStringToOtherMatcher() { stringMatcher.ExpectedMatchesArg = arg.ToString(); stringMatcher.MatchesResult = true; Assert.AreEqual(stringMatcher.MatchesResult, matcher.Matches(arg), "result"); stringMatcher.AssertMatchesCalled("should have passed string representation to stringMatcher"); }