// add occupants to the room
Room room = conference.findOrCreateRoom(ROOM1_JID, "Room 1");
room.setPassword("secret");
room.addOccupant(OCCUPANT1_JID, "nick");
Invite invite = new Invite(null, OCCUPANT2_JID, reason);
// send message to occupant 1
assertNull(sendMessage(OCCUPANT1_JID, ROOM1_JID, null, null, new X(invite), null));
X expectedX = new X(new Invite(OCCUPANT1_JID, null, reason), new Password("secret"));
// verify stanzas to existing occupants on the exiting user
assertMessageStanza(ROOM1_JID, OCCUPANT2_JID, null, null, null, expectedX,
occupant2Queue.getNext());
assertNull(occupant1Queue.getNext());
}