CanConvert() публичный Метод

Determines whether this instance can convert the specified object type.
public CanConvert ( Type objectType ) : bool
objectType System.Type Type of the object.
Результат bool
 public void NotificationConverter_CanConvertMessage_IsTrue()
 {
     var converter = new NotificationConverter();
     var canConvert = converter.CanConvert(new Message().GetType());
     Assert.IsTrue(canConvert);
 }
        public void CanConvert(Type type, bool canConvert)
        {
            var converter = new NotificationConverter();

            Assert.Equal(converter.CanConvert(type), canConvert);
        }
 public void NotificationConverter_CanConvertComment_IsTrue()
 {
     var converter = new NotificationConverter();
     var canConvert = converter.CanConvert(new Comment().GetType());
     Assert.IsTrue(canConvert);
 }