Example #1
0
        public void CanConvert_String_ShouldReturnFalse()
        {
            var converter = new ObjectConverter();

            Assert.False(converter.CanConvert(typeof(string)));
        }
Example #2
0
        public void CanConvert_Dictionary_ShouldReturnFalse()
        {
            var converter = new ObjectConverter();

            Assert.False(converter.CanConvert(typeof(Dictionary <string, object>)));
        }
Example #3
0
        public void CanConvert_Object_ShouldReturnTrue()
        {
            var converter = new ObjectConverter();

            Assert.True(converter.CanConvert(typeof(object)));
        }