예제 #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.ContainsChild(filePath);

                // Then
                result.ShouldBe(expected);
            }