public void DoListTest() { string path = RootPath + "/TestDirectories/Directory1"; string expectedData = "3 TestDirectory true TestFile1.txt false TestFile2.txt false "; string data = FileCommander.DoListCommand(path); Assert.AreEqual(expectedData, data); }