public void Matches_should_detect_string_length_nominal() { var subj = new HaveLengthMatcher(2); Assert.True(subj.Matches("ab")); }
public void Matches_should_detect_array_length_nominal() { var subj = new HaveLengthMatcher(2); Assert.True(subj.Matches(new [] { 1, 2, })); }