public void TestXmlCount() { XmlAdapterClass adpXml = new XmlAdapterClass(@"C:/Temp/TestData.xml"); ProcessData p = new ProcessData(adpXml); Assert.AreEqual(7, p.processDataReader()); }
public void TestFileCount() { StreamDataReader streamDataReader = new StreamDataReader(@"C:/Temp/TestData.txt"); ProcessData p = new ProcessData(streamDataReader); Assert.AreEqual(13, p.processDataReader()); }