Assert.assertTrue(serviceDiscoveryManager.getIdentities().contains(new Identity("conference", "text", "name2", "en")));
}
@Test
public void testInfoDiscovery() throws XmppException {
MockServer mockServer = new MockServer();
TestXmppSession connection1 = new TestXmppSession(ROMEO, mockServer);
new TestXmppSession(JULIET, mockServer);
ServiceDiscoveryManager serviceDiscoveryManager = connection1.getExtensionManager(ServiceDiscoveryManager.class);
InfoNode result = serviceDiscoveryManager.discoverInformation(JULIET);
Assert.assertNotNull(result);