public CanConvert ( |
||
objectType | 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); }