public void Matches_should_detect_empty_nominal_func() { var subj = new SatisfyAnyMatcher <int[]>( Matchers.BeEmpty(), Matchers.HaveCount(10) ); var val = subj.Matches(TestActual.Value(new int[] { 2 })); Assert.False(val); }
public void Matches_should_apply_Any_nominal() { var subj = new SatisfyAnyMatcher <int[]>( Matchers.BeEmpty(), Matchers.HaveCount(10) ); var val = subj.Matches(TestActual.Value(new int[0])); Assert.True(val); }