public async Task CheckArchitecturalConformanceAsync_Error_InvalidSolutionFilePath() { var result = await Assert.ThrowsAsync <SolutionException>(async() => { await ErosionFinderMethods .CheckArchitecturalConformanceAsync("", null, default); }); Assert.Equal(SolutionError.SolutionFileNotFound.Key, result.Key); }
public async Task CheckArchitecturalConformanceAsync_Error_SolutionNotFound() { var testFileName = $"{Guid.NewGuid().ToString()}.sln"; var result = await Assert.ThrowsAsync <SolutionException>(async() => { await ErosionFinderMethods .CheckArchitecturalConformanceAsync(testFileName, null, default); }); Assert.Equal(SolutionError.SolutionFileNotFound.Key, result.Key); }