public void Initialize() { server = new MockServer(); clock = new MockClock(); client = new Client("127.0.0.1", server.Port, clock); source = new CancellationTokenSource(); }
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()); }
public void Initialize() { server = new MockServer(); clock = new MockClock(); client = new Client("127.0.0.1", server.Port, clock); }