Esempio n. 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);
        }
Esempio n. 2
0
        public void IsHandling_QueryExists_False()
        {
            var sutXml = new ExecutionXml();
            var ctrXml = new ExistsXml();
            var testCaseFactory = new TestCaseFactory();

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

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