Matches() public method

public Matches ( Type type, ConverterLibrary converter ) : bool
type System.Type
converter ConverterLibrary
return bool
 public void matches_positive()
 {
     var family = new TypeDescripterConverterFamily();
     family.Matches(typeof(string), null).ShouldBeTrue();
     family.Matches(typeof(int), null).ShouldBeTrue();
     family.Matches(typeof(DateTime), null).ShouldBeTrue();
     family.Matches(typeof(bool), null).ShouldBeTrue();
 }
 public void matches_negative()
 {
     var family = new TypeDescripterConverterFamily();
     family.Matches(GetType(), null).ShouldBeFalse();
 }