Identity identity1 = new Identity("conference", "text", "Play-Specific Chatrooms");
Identity identity2 = new Identity("directory", "chatroom", "Play-Specific Chatrooms");
Assert.assertTrue(serviceDiscovery.getIdentities().contains(identity1));
Assert.assertTrue(serviceDiscovery.getIdentities().contains(identity2));
Assert.assertTrue(serviceDiscovery.getFeatures().contains(new Feature("http://jabber.org/protocol/disco#info")));
Assert.assertTrue(serviceDiscovery.getFeatures().contains(new Feature("http://jabber.org/protocol/disco#items")));
Assert.assertTrue(serviceDiscovery.getFeatures().contains(new Feature("http://jabber.org/protocol/muc")));
Assert.assertTrue(serviceDiscovery.getFeatures().contains(new Feature("jabber:iq:register")));
Assert.assertTrue(serviceDiscovery.getFeatures().contains(new Feature("jabber:iq:search")));
Assert.assertTrue(serviceDiscovery.getFeatures().contains(new Feature("jabber:iq:time")));
Assert.assertTrue(serviceDiscovery.getFeatures().contains(new Feature("jabber:iq:version")));
}