public void SetUp()
 {
     MockRepository.GenerateMock<ICradiatorView>();
     MockRepository.GenerateMock<IConfigSettings>();
     _skinLoader = MockRepository.GenerateMock<ISkinLoader>();
     _skinChangeHandler = new SkinChangeHandler(_skinLoader);
 }
 public void SetUp()
 {
     _updater = MockRepository.GenerateMock<IConfigChangeHandler>();
     _configSettings = new ConfigSettings();
 }
 public void SetUp()
 {
     _skinLoader = Create.Mock<ISkinLoader>();
     _skinChangeHandler = new SkinChangeHandler(_skinLoader);
 }
 public void SetUp()
 {
     _updater        = MockRepository.GenerateMock <IConfigChangeHandler>();
     _configSettings = new ConfigSettings();
 }
 public void SetUp()
 {
     _pollTimer = Create.Mock <IPollTimer>();
     _countdownChangeHandler = Create.Mock <ICountdownTimer>();
     _pollingChangeHandler   = new PollIntervalChangeHandler(_pollTimer, _countdownChangeHandler);
 }
 public void SetUp()
 {
     _view = Create.Mock<ICradiatorView>();
     _timer = Create.Mock<ICountdownTimer>();
     _changeHandler = new ShowCountdownChangeHandler(_timer, _view);
 }
 public void SetUp()
 {
     _view = MockRepository.GenerateMock<ICradiatorView>();
     _timer = MockRepository.GenerateMock<ICountdownTimer>();
     _changeHandler = new ShowCountdownChangeHandler(_timer, _view);
 }
Esempio n. 8
0
 public void SetUp()
 {
     _skinLoader        = Create.Mock <ISkinLoader>();
     _skinChangeHandler = new SkinChangeHandler(_skinLoader);
 }
 public void SetUp()
 {
     _pollTimer = MockRepository.GenerateMock<IPollTimer>();
     _countdownChangeHandler = MockRepository.GenerateMock<ICountdownTimer>();
     _pollingChangeHandler = new PollIntervalChangeHandler(_pollTimer, _countdownChangeHandler);
 }
 public void SetUp()
 {
     _view          = Create.Mock <ICradiatorView>();
     _timer         = Create.Mock <ICountdownTimer>();
     _changeHandler = new ShowCountdownChangeHandler(_timer, _view);
 }
 public void SetUp()
 {
     _pollTimer = Create.Mock<IPollTimer>();
     _countdownChangeHandler = Create.Mock<ICountdownTimer>();
     _pollingChangeHandler = new PollIntervalChangeHandler(_pollTimer, _countdownChangeHandler);
 }