public void EnumerateDirectories_searchPattern_nomatch() { string path = new DirectoryWrap().GetCurrentDirectory(); IDirectoryInfo directoryInfoWrap = new DirectoryInfoWrap(path); var subdirectories = directoryInfoWrap.EnumerateDirectories("XXX"); Assert.AreEqual(0, subdirectories.Count()); }