示例#1
0
            public void ShouldCheckDirectoryPath(string directory, string path, bool expected)
            {
                // Given
                DirectoryPath directoryPath = new DirectoryPath(directory);
                FilePath      filePath      = new FilePath(path);

                // When
                bool result = directoryPath.ContainsDescendant(filePath);

                // Then
                result.ShouldBe(expected);
            }