public void Context() { _scenario = new CoreBusScenarioBuilder<WebSocketCoreBusServer, WebSocketCoreBusClient>( serverListenPort => new WebSocketCoreBusServer(serverListenPort), (uri, serverListenPort) => new WebSocketCoreBusClient(uri) ).Build(); }
public void Context() { _scenario = new CoreBusScenarioBuilder<WebSocketCoreBusServer, WebSocketCoreBusClient>( serverListenPort => new WebSocketCoreBusServer(serverListenPort), (uri, serverListenPort) => new WebSocketCoreBusClient(uri) ) .WithNumberOfClients(2) .Build(); _clientOne = _scenario.GetClient(0); _clientTwo = _scenario.GetClient(1); }