public void TestInitialize()
        {
            TestCleanup();

            _nowGetter = new NowGetterMock();
            _checkTimer = new CheckTimer(_nowGetter) as ICheckTimer;
        }
 public AutoUpdaterCommandCreator(ICheckTimer checkTimer, IConfigurationConverter configurationConverter, ICommandBuilder commandBuilder,
     INowGetter nowGetter, ILogger logger)
 {
     _checkTimer = checkTimer;
     _configurationConverter = configurationConverter;
     _commandBuilder = commandBuilder;
     _nowGetter = nowGetter;
     _logger = logger;
 }
 public void TestCleanup()
 {
     _nowGetter = null;
     _checkTimer = null;
 }