public void CanConvertFrom() { FileInfoConverter vrt = new FileInfoConverter(); Assert.IsTrue(vrt.CanConvertFrom(typeof(string)), "Conversion from a string instance must be supported."); Assert.IsFalse(vrt.CanConvertFrom(typeof(int))); }
public void CanConvertFrom() { FileInfoConverter vrt = new FileInfoConverter(); Assert.IsTrue(vrt.CanConvertFrom(typeof (string)), "Conversion from a string instance must be supported."); Assert.IsFalse(vrt.CanConvertFrom(typeof (int))); }