@Test
public void untargetedQueryEndsUpInInitiatingEntityArchive() throws XMLSemanticError {

    archives.givenArchive(INITIATING_ENTITY.getBareJID());
    List<Stanza> stanzas = tested.handle(untargetedQuery, serverRuntimeContext, sessionContext);
    assertEquals(1, stanzas.size());
    Stanza stanza = stanzas.get(0);
    assertEquals("iq", stanza.getName());
    assertNotNull(stanza.getSingleInnerElementsNamed("fin"));
}