private Server InitialiseServer(IServerWatcher watcher)
        {
            var client  = new CruiseServerClientMock();
            var monitor = new Server(client, watcher);

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

            return(monitor);
        }
Esempio n. 3
0
 private Server InitialiseServer(IServerWatcher watcher)
 {
     var client = new CruiseServerClientMock();
     var monitor = new Server(client, watcher);
     return monitor;
 }
Esempio n. 4
0
 private Server InitialiseServer()
 {
     var watcher = mocks.Stub<IServerWatcher>();
     var client = new CruiseServerClientMock();
     var monitor = new Server(client, watcher);
     return monitor;
 }