public void TryResolveModulePath_should_return_expected_results(string parentFilePath, string childFilePath, string?expectedResult) { var fileResolver = new FileResolver(); fileResolver.TryResolveFilePath(new Uri(parentFilePath), childFilePath).Should().Be(expectedResult != null ? new Uri(expectedResult) : null, $"{nameof(fileResolver.TryResolveFilePath)}(\"{parentFilePath}\", \"{childFilePath}\") should produce expected result"); }