public void TestCheckNames() { string path = Path.Combine(Environment.CurrentDirectory, "unsorted-names-list.txt"); Sorter s = new NameSorter(new FileOperation(path)); s.CheckLength(); Assert.AreEqual(true, s.Success); }