room.getAffiliations().add(OCCUPANT2_JID, Affiliation.Member);
room.addOccupant(OCCUPANT2_JID, "Nick 2");
// send message to room
IQStanza result = (IQStanza) IQStanza.getWrapper(sendIq(OCCUPANT1_JID, ROOM2_JID, SET, "id1",
NamespaceURIs.XEP0045_MUC_ADMIN, new IqAdminItem(OCCUPANT2_JID, Affiliation.Outcast)));
assertIqResultStanza(ROOM2_JID, OCCUPANT1_JID, "id1", result);
assertNull(room.findOccupantByNick("Nick 2"));
assertEquals(Affiliation.Outcast, room.getAffiliations().getAffiliation(OCCUPANT2_JID));