Exemple #1
0
        public void HandlesType_NotMatchingType_ReturnsFalse()
        {
            var writer = new BooleanValueWriter();

            Assert.False(writer.HandlesType(typeof(StringValue)));
        }
Exemple #2
0
        public void HandlesType_MatchingType_ReturnsTrue()
        {
            var writer = new BooleanValueWriter();

            Assert.True(writer.HandlesType(typeof(BooleanValue)));
        }