public override void DisposeClients() { this.interopServer.Dispose(); this.interopServer = null; this.interopClient.Dispose(); this.interopClient = null; base.DisposeClients(); }
public override void ConnectClients() { base.ConnectClients(); Assert.AreEqual(XmppState.Connected, this.client1.State); Assert.AreEqual(XmppState.Connected, this.client2.State); this.interopClient = new InteroperabilityClient(this.client1); this.interopServer = new InteroperabilityServer(this.client2); this.interopServer.OnGetInterfaces += (sender, e) => { e.Add("Interface A", "Interface B", "Interface C", "Interface D"); }; }