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