public CanConvert ( |
||
objectType | Type of the object. | |
return | bool |
public void GalleryItem_CanConvertGalleryImage_IsTrue() { var converter = new GalleryItemConverter(); var canConvert = converter.CanConvert(new GalleryImage().GetType()); Assert.IsTrue(canConvert); }
public void CanConvert(Type type, bool canConvert) { var converter = new GalleryItemConverter(); Assert.Equal(converter.CanConvert(type), canConvert); }