public async Task Throw_for_invalid_sources(string sourceUri, Type expectedExceptionType) { var client = new NuGetClient(sourceUri); await Should.ThrowAsync(async() => await client.GetPackageLatestVersionAsync("Serilog"), expectedExceptionType); }
public async Task Throw_for_invalid_sources(string sourceUri, Type expectedExceptionType) { var client = new NuGetClient(sourceUri); await Should.ThrowAsync(async() => await client.GetPackageLatestVersionAsync("Serilog"), expectedExceptionType); }