public void ShouldCheckDirectoryPath(string directory, string path, bool expected) { // Given NormalizedPath directoryPath = new NormalizedPath(directory); NormalizedPath filePath = new NormalizedPath(path); // When bool result = directoryPath.ContainsChild(filePath); // Then result.ShouldBe(expected); }