Exemple #1
0
        public void CanConvert(Type typeToConvert, bool expected)
        {
            // Arrange
            var converter = new MetricsConverter();

            // Assert
            converter.CanConvert(typeToConvert).ShouldBe(expected);
        }
Exemple #2
0
        public void CanConvert()
        {
            // Act
            var converter = new MetricsConverter();
            var type      = (Type)null;

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