示例#1
0
        public void IsHandling_StructureExists_True()
        {
            var sutXml          = new StructureXml();
            var ctrXml          = new ExistsXml();
            var testCaseFactory = new TestCaseFactory();

            var actual = testCaseFactory.IsHandling(sutXml.GetType(), ctrXml.GetType());

            Assert.That(actual, Is.True);
        }
示例#2
0
        public void IsHandling_StructureSyntacticallyCorrect_False()
        {
            var sutXml          = new StructureXml();
            var ctrXml          = new SyntacticallyCorrectXml();
            var testCaseFactory = new TestCaseFactory();

            var actual = testCaseFactory.IsHandling(sutXml.GetType(), ctrXml.GetType());

            Assert.That(actual, Is.False);
        }
示例#3
0
        public void IsHandling_StructureOrdered_True()
        {
            var sutXml          = new StructureXml();
            var ctrXml          = new OrderedXml();
            var testCaseFactory = new TestCaseFactory();

            var actual = testCaseFactory.IsHandling(sutXml.GetType(), ctrXml.GetType());

            Assert.That(actual, Is.False);
        }