Inheritance: ISessionProvider
		public void SetUp() {
			_nestWebService = new Mock<INestWebService>();
			_sessionProvider = new MockSessionProvider();
			_statusProvider = new MockStatusProvider();
			ServiceContainer.RegisterService<ISessionProvider>(_sessionProvider);
			ServiceContainer.RegisterService<INestWebService>(_nestWebService.Object);
			ServiceContainer.RegisterService<IStatusProvider>(_statusProvider);
			_viewModel = new NestViewModel();
		}
Exemple #2
0
 public void SetUp()
 {
     _nestWebService  = new Mock <INestWebService>();
     _sessionProvider = new MockSessionProvider();
     _statusProvider  = new MockStatusProvider();
     ServiceContainer.RegisterService <ISessionProvider>(_sessionProvider);
     ServiceContainer.RegisterService <INestWebService>(_nestWebService.Object);
     ServiceContainer.RegisterService <IStatusProvider>(_statusProvider);
     _viewModel = new NestViewModel();
 }