Exemple #1
0
        public void CanConvert_false()
        {
            // Act
            var converter = new IntegerBooleanConverter();
            var type      = typeof(string);

            // Assert
            converter.CanConvert(type).ShouldBeFalse();
        }
Exemple #2
0
        public void CanConvert_true()
        {
            // Act
            var converter = new IntegerBooleanConverter();
            var type      = typeof(bool);

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