private Server InitialiseServer(IServerWatcher watcher) { var client = new CruiseServerClientMock(); var monitor = new Server(client, watcher); return(monitor); }
private Server InitialiseServer() { var watcher = mocks.Create <IServerWatcher>().Object; var client = new CruiseServerClientMock(); var monitor = new Server(client, watcher); return(monitor); }
private Server InitialiseServer(IServerWatcher watcher) { var client = new CruiseServerClientMock(); var monitor = new Server(client, watcher); return monitor; }
private Server InitialiseServer() { var watcher = mocks.Stub<IServerWatcher>(); var client = new CruiseServerClientMock(); var monitor = new Server(client, watcher); return monitor; }