public void ConvertTo_TypeError() { CommaDelimitedStringCollectionConverter cv = new CommaDelimitedStringCollectionConverter(); Assert.Throws <ArgumentException>(() => cv.ConvertTo(null, null, 59, typeof(string))); }
public void ConvertTo_TypeError() { CommaDelimitedStringCollectionConverter cv = new CommaDelimitedStringCollectionConverter(); Assert.AreEqual("59", cv.ConvertTo(null, null, 59, typeof(string)), "A1"); }
public void ConvertTo_NullError() { CommaDelimitedStringCollectionConverter cv = new CommaDelimitedStringCollectionConverter(); Assert.Equal(null, cv.ConvertTo(null, null, null, typeof(string))); }