Exemplo n.º 1
0
        public void TryResolveModulePath_should_return_expected_results(string parentFilePath, string childFilePath, string?expectedResult)
        {
            var fileResolver = new FileResolver();

            fileResolver.TryResolveModulePath(parentFilePath, childFilePath).Should().Be(expectedResult, $"{nameof(fileResolver.TryResolveModulePath)}(\"{parentFilePath}\", \"{childFilePath}\") should produce expected result");
        }