public Facts(ITestOutputHelper output)
            {
                MetadataResource = new Mock <PackageMetadataResource>();
                Logger           = new XunitLogger <VersionRangeCalculator>(output);

                Target = new VersionRangeCalculator(
                    Task.FromResult(MetadataResource.Object),
                    Logger);
            }
            public Facts(ITestOutputHelper output)
            {
                StorageService     = new InMemoryStorageService();
                HttpCacheUtility   = new LocalStorageHttpCacheUtility(StorageService);
                ConcurrencyUtility = new InMemoryConcurrencyUtility();
                SourceRepository   = Repository.Factory.GetCustomRepository(HttpCacheUtility, ConcurrencyUtility);
                Logger             = new XunitLogger <VersionRangeCalculator>(output);

                Token = CancellationToken.None;

                Target = new VersionRangeCalculator(
                    SourceRepository.GetResourceAsync <PackageMetadataResource>(),
                    Logger);
            }