예제 #1
0
        public void DataTest_It_Tests_Methods_GetAttributesCount(string inputFile, int eptPosition, int expectedOutcome)
        {
            /* Initialization. */
            XmlDocument xlfDocument = new XmlDocument();

            xlfDocument.Load(inputFile);

            XmlNode xmlItNode = xlfDocument.SelectNodes("//it").Item(eptPosition);
            It      itElement = new It(xmlItNode);

            /* Set of Assertions. */
            Assert.AreEqual(expectedOutcome, itElement.GetAttributesCount());
        }