TestSessionContext sessionContextToEntity_4_prioMinus = createSessionForTo(toEntity, -1); // not receiving, negative
Stanza stanza = StanzaBuilder.createMessageStanza(fromEntity, toEntity, "en", "Hello").build();
try {
stanzaRelay.relay(toEntity, stanza, new IgnoreFailureStrategy());
Stanza recordedStanza_1 = sessionContextToEntity_1_prio3.getNextRecordedResponse(100);
assertNotNull("stanza 1 delivered", recordedStanza_1);
Stanza recordedStanza_2 = sessionContextToEntity_2_prio0.getNextRecordedResponse(100);
assertNotNull("stanza 2 delivered", recordedStanza_2);
Stanza recordedStanza_3 = sessionContextToEntity_3_prio3.getNextRecordedResponse(100);