public void GetFiles_Test() { ICollection <string> files = _directoryExplorer.GetFiles(@"C:\"); Assert.IsNotNull(files); Assert.IsTrue(files.Count == 2); Assert.IsTrue(files.Contains(_file1)); }
public void DirectoryExplorerTest() { var expected = mockDictionaryExplorer.GetFiles(@"c:\"); Assert.NotNull(expected); Assert.IsTrue(expected.Count == 2); Assert.IsTrue(expected.Contains(_file1)); }