@Test
public void stanzaWithHintNoPermanentStoreShouldNotBeStored() throws ProtocolException {

    Stanza stanza = StanzaBuilder.createMessageStanza(ALICE, BOB, "en", null)
            .startInnerElement("no-permanent-store", NamespaceURIs.XEP0334_MESSAGE_PROCESSING_HINTS)
            .endInnerElement().build();
    tested.intercept(stanza, serverRuntimeContext, false, sessionContext, sessionStateHolder,
            nonArchivingStanzaBroker, interceptorChain);
    verify(interceptorChain).intercept(stanza, serverRuntimeContext, false, sessionContext, sessionStateHolder,
            nonArchivingStanzaBroker);
}