public InstallationRecorderTests() { _packageHistoryRepository = new Mock <IPackageHistoryRepository>(); _packageInstallationSettings = new PackageInstallationSettings(); _recorder = new InstallationRecorder(_packageHistoryRepository.Object, _packageInstallationSettings); }
public InstallationRecorderTests() { _mockPackageHistoryRepository = new Mock <IPackageHistoryRepository>(); _packageInstallationSettings = new PackageInstallationSettings { RecordInstallationHistory = true }; _recorder = new InstallationRecorder(_mockPackageHistoryRepository.Object, _packageInstallationSettings); _dateInstalled = DateTime.Now; }