示例#1
0
        public void CanConvert_false()
        {
            // Act
            var converter = new SendGridDateTimeConverter();
            var type      = (Type)null;

            // Assert
            converter.CanConvert(type).ShouldBeFalse();
        }
示例#2
0
        public void CanConvert_true()
        {
            // Act
            var converter = new SendGridDateTimeConverter();
            var type      = typeof(DateTime);

            // Assert
            converter.CanConvert(type).ShouldBeTrue();
        }