return "com.calclab.emite.xep.delay.EmiteDelay";
}
@Test
public void testShouldGiveDelay() {
final Stanza stanza = new Stanza("name", "xmlns");
final XmppURI uri = uri("name@domain/resource");
stanza.setTo(uri);
assertEquals("name@domain/resource", stanza.getTo().toString());
stanza.setTo((XmppURI) null);
final XMLPacket delayNode = stanza.getXML().addChild("delay");
delayNode.setAttribute("xmlns", "urn:xmpp:delay");
delayNode.setAttribute("from", "name@domain/resource");
delayNode.setAttribute("stamp", "1980-04-15T17:15:02.159+01:00");
final Delay delay = DelayHelper.getDelay(stanza);
assertNotNull(delay);