public PackageCreator(IFileSystem fileSystem, IGuid guid, IPackageFactory packageFactory, IConfigSettings configSettings, IRepository <Package> packageRepository, IPackageAuthenticator packageAuthenticator, IHashGetter hashGetter, IPackageIdValidator packageIdValidator, IPackageUriValidator packageUriValidator, ILatestVersionChecker latestVersionChecker, ILatestVersionUpdater <Package> latestVersionUpdater) { _fileSystem = fileSystem; _latestVersionUpdater = latestVersionUpdater; _latestVersionChecker = latestVersionChecker; _packageIdValidator = packageIdValidator; _guid = guid; _packageFactory = packageFactory; _configSettings = configSettings; _packageRepository = packageRepository; _packageAuthenticator = packageAuthenticator; _hashGetter = hashGetter; _packageUriValidator = packageUriValidator; }
public PackageCreator(IFileSystem fileSystem, IGuid guid, IPackageFactory packageFactory, IConfigSettings configSettings, IRepository<Package> packageRepository, IPackageAuthenticator packageAuthenticator, IHashGetter hashGetter, IPackageIdValidator packageIdValidator, IPackageUriValidator packageUriValidator, ILatestVersionChecker latestVersionChecker, ILatestVersionUpdater<Package> latestVersionUpdater) { _fileSystem = fileSystem; _latestVersionUpdater = latestVersionUpdater; _latestVersionChecker = latestVersionChecker; _packageIdValidator = packageIdValidator; _guid = guid; _packageFactory = packageFactory; _configSettings = configSettings; _packageRepository = packageRepository; _packageAuthenticator = packageAuthenticator; _hashGetter = hashGetter; _packageUriValidator = packageUriValidator; }
public void SetUp() { _mockedPackageRepository = new Mock<IRepository<Package>>(); _latestVersionChecker = new Core.Impl.LatestVersionChecker(_mockedPackageRepository.Object); }
public void SetUp() { _mockedPackageRepository = new Mock <IRepository <Package> >(); _latestVersionChecker = new Core.Impl.LatestVersionChecker(_mockedPackageRepository.Object); }