Example #1
0
 public void Initialize()
 {
     server             = new Server("1.2.3.4", 5678);
     clock              = new MockClock();
     clock.CurrentTime += TimeSpan.FromSeconds(100);
     masterServerClient = new MockClient();
     serverInfoClient   = new MockClient();
     clientFactory      = new MockClientFactory(masterServerClient);
     clientFactory.AddClient(serverInfoClient);
     monitor = new Monitor(clock, clientFactory, new MockLogger());
 }
Example #2
0
 public void Initialize()
 {
     clientFactory = new MockClientFactory(client);
 }
Example #3
0
 public void Initialize()
 {
     clientFactory = new MockClientFactory(client);
     source        = new CancellationTokenSource();
 }