public void IsMatch_AllSetupArgumentsEqual_ReturnsTrue() { var subject = new ArgumentMatcher(_expressionHelperMock.Object, _itIsMatcherMock.Object); var setupArguments = new[] { Expression.Constant("Hello"), Expression.Constant("World") }; var actualArguments = new[] { "Hello", "World" }; var result = subject.IsMatch(setupArguments, actualArguments); Assert.IsTrue(result); }
public void IsMatch_AllSetupArgumentsAny_ReturnsTrue() { var subject = new ArgumentMatcher(_expressionHelperMock.Object, _itIsMatcherMock.Object); var setupArguments = new[] { AnyStringExpression, AnyStringExpression }; var actualArguments = new[] { "Hello", "World" }; var result = subject.IsMatch(setupArguments, actualArguments); Assert.IsTrue(result); }