public void CanConvertWhenFalseTest() { var converter = new DateRestrictJsonConverter(); var result = converter.CanConvert(typeof(object)); Assert.IsFalse(result); }
public void CanConvertWhenTrueTest() { var converter = new DateRestrictJsonConverter(); var result = converter.CanConvert(typeof(DateRestrict)); Assert.IsTrue(result); }