예제 #1
0
        public void GetFiles_Test()
        {
            ICollection <string> files = _directoryExplorer.GetFiles(@"C:\");

            Assert.IsNotNull(files);
            Assert.IsTrue(files.Count == 2);
            Assert.IsTrue(files.Contains(_file1));
        }
예제 #2
0
        public void DirectoryExplorerTest()
        {
            var expected = mockDictionaryExplorer.GetFiles(@"c:\");

            Assert.NotNull(expected);
            Assert.IsTrue(expected.Count == 2);
            Assert.IsTrue(expected.Contains(_file1));
        }