Stanza stanza = stanzaBuilder.build();
ResponseStanzaContainer responseStanzaContainer = messageHandler.execute(stanza, senderSessionContext.getServerRuntimeContext(), true, senderSessionContext, null);
Stanza receivedStanza = receiverUser.getNextStanza();
XMLElementVerifier timestampVerifier = receivedStanza.getFirstInnerElement().getVerifier();
assertTrue("stanza relayed to", receivedStanza.getVerifier().toAttributeEquals(receiverUser.getEntity().getFullQualifiedName()));
assertTrue("stanza relayed inner", timestampVerifier.attributeEquals("value", timestamp));
assertNotNull("from added", receivedStanza.getFrom());
assertNotNull("from is full JID", receivedStanza.getFrom().equals(senderUser.getEntityFQ()));
assertEquals("stanza relayed to correct receiver", receiverUser.getEntity(), receivedStanza.getTo());
}