public void DiffTests() //Should fail, as fileRead should handle invalid file names { List <List <string[]> > contents = new List <List <string[]> >(); List <List <string[]> > invalidContents = new List <List <string[]> >(); contents = FileRead.Read("test1.txt", "test2.txt"); invalidContents = FileRead.Read("notA.txt", "realFile.txt"); Assert.ThrowsException <System.Exception>(() => Diff.Difference(contents)); Assert.ThrowsException <System.Exception>(() => Diff.Difference(invalidContents)); }