public void Should_match_when_predicate_compares_null_to_null() { var spec = new ExpressionArgumentMatcher<string>(x => x == null); Assert.True(spec.IsSatisfiedBy(null)); }
public void Should_match_when_predicate_compares_null_to_null() { var spec = new ExpressionArgumentMatcher <string>(x => x == null); Assert.True(spec.IsSatisfiedBy(null)); }
public void Should_not_match_when_predicate_is_not_satisfied() { var spec = new ExpressionArgumentMatcher<int>(x => x < 5); Assert.False(spec.IsSatisfiedBy(7)); }
public void Should_not_match_when_predicate_is_not_satisfied() { var spec = new ExpressionArgumentMatcher <int>(x => x < 5); Assert.False(spec.IsSatisfiedBy(7)); }