Пример #1
0
            public void Should_Return_False_When_Source_Type_Is_Not_DirectoryPath()
            {
                var converter = new DirectoryPathConverter();

                var result = converter.CanConvertTo(typeof(DateTime));

                Assert.False(result);
            }
Пример #2
0
            public void Should_Return_True_When_Destination_Type_Is_DirectoryPath()
            {
                var converter = new DirectoryPathConverter();

                var result = converter.CanConvertTo(typeof(DirectoryPath));

                Assert.True(result);
            }