public async Task <IEnumerable <Vulnerability> > GetVulnerabilitiesAsync(DependencyManagerTypes dependencyManager, string dependencyName, string dependencyVersion)
        {
            if (!s_packageManagerTypesByDependencyManagerTypes.Keys.Contains(dependencyManager))
            {
                return(Enumerable.Empty <Vulnerability>());
            }

            var packageManager = DependencyManagerTypesToPackageManager(dependencyManager);

            return((await _client.GetPackageVersionAsync(packageManager, dependencyName, dependencyVersion))
                   .Vulnerabilities
                   ?.Select(x => new Vulnerability
            {
                DependencyName = dependencyName,
                DependencyVersion = dependencyVersion,
                DependencyType = dependencyManager,
                Title = x.Title,
                Description = x.Description,
                References = x.References,
                Versions = x.Versions
            }));
        }
        public async Task GetPackageVersionAsync(PackageManagerTypes packageManager, string packageName, string packageVersion)
        {
            var result = await _client.GetPackageVersionAsync(packageManager, packageName, packageVersion);

            Assert.NotNull(result);
        }