public void Setup() { Client = new ClientMock(); RabbitServer = new RabbitBroadcasterPublisher<IClientTest>(ConnectionString, BrokerId, Topic); RabbitClient = new RabbitBroadcasterSubscriber<IClientTest>(ConnectionString, BrokerId, Client, Topic); ClientProxy = RabbitServer.GetClientProxy(); RabbitServer.Connect(); RabbitClient.Connect(); }
public void Setup() { Client = new ClientMock(); RabbitServer = new RabbitBroadcasterPublisher <IClientTest>(ConnectionString, BrokerId, Topic); RabbitClient = new RabbitBroadcasterSubscriber <IClientTest>(ConnectionString, BrokerId, Client, Topic); ClientProxy = RabbitServer.GetClientProxy(); RabbitServer.Connect(); RabbitClient.Connect(); }