@Test
public void onMessage() {

    JettyXmppWebSocket context = new JettyXmppWebSocket(serverRuntimeContext, stanzaProcessor);
    context.onMessage("<test></test>");
    Stanza expected = new StanzaBuilder("test").build();
    Mockito.verify(stanzaProcessor).processStanza(Mockito.eq(serverRuntimeContext),
            Mockito.any(InternalSessionContext.class), Mockito.eq(expected), Mockito.any(SessionStateHolder.class));
}