public void Test003a_GetContent_ThrowsAnExceptionIfFileDoesntExist() { var path = "dfgdfg.txt"; var p = new PXDocument(path); Assert.Throws(typeof(Exception), () => p.ReadAllLines()); }
public void Test002_CheckContentInTestFile() { var path = DataFile("test.txt"); var p = new PXDocument(path); Assert.AreEqual(new List <string>() { "blabla1", "blabla2" }, p.ReadAllLines()); }