Example #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);
        }
Example #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);
        }
Example #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);
        }