public void ThenShouldReturnEnumerableDirectoriesGivenPathWithSubDirectories()
            {
                // Arrange
                var info = new DirectoryInfo(TestDirectoryRoot);

                // Act
                var directories = info.SafeEnumerateDirectories();

                // Assert
                Assert.That(directories, Is.EquivalentTo(_directoryList.Select(s => new DirectoryInfo(s))));
            }
            public void ThenShouldReturnEmptyEnumerableDirectoriesGivenPathWithInvalidDirectory()
            {
                // Arrange
                var info = new DirectoryInfo(string.Format("Bad{0}", TestDirectoryRoot));

                // Act
                var directories = info.SafeEnumerateDirectories();

                // Assert
                Assert.That(directories, Is.EquivalentTo(Enumerable.Empty<DirectoryInfo>()));
            }