public void Matches_should_fail_on_null() { var subj = new ValueTypeMatcher().AllowingNullActualValue(); Assert.False(subj.Matches((string)null)); }
public void Matches_should_detect_on_type_instances() { var subj = new ValueTypeMatcher(); Assert.True(subj.Matches(typeof(int))); }
public void Matches_should_detect_nominal() { var subj = new ValueTypeMatcher(); Assert.True(subj.Matches(0xab)); }