xmppSession1.removePresenceListener(this);
Assert.assertTrue(e.getPresence().getExtension(LastActivity.class) != null);
}
});
xmppSession1.send(new Message(JULIET));
xmppSession1.send(new Presence(Presence.Show.AWAY));
}
@Test
public void testLastActivityInXAPresence() {
TestXmppSession xmppSession1 = new TestXmppSession(ROMEO, new MockServer());