示例#1
0
 public void SutCannotConvertTypeOtherThanName(NameJsonConverter sut)
 {
     Assert.False(sut.CanConvert(typeof(object)));
     Assert.False(sut.CanConvert(typeof(NameJsonConverter)));
 }
示例#2
0
 public void SutCannotConvertTypeOtherThanName(NameJsonConverter sut)
 {
     Assert.False(sut.CanConvert(typeof(object)));
     Assert.False(sut.CanConvert(typeof(NameJsonConverter)));
 }
示例#3
0
        public void SutCanConvertNameType(NameJsonConverter sut)
        {
            var actual = sut.CanConvert(typeof(Name));

            Assert.True(actual);
        }
示例#4
0
 public void SutCanConvertNameType(NameJsonConverter sut)
 {
     var actual = sut.CanConvert(typeof(Name));
     Assert.True(actual);
 }