Assert.assertEquals(fieldHistoryFetch.getValues().size(), 1);
Assert.assertEquals(fieldHistoryFetch.getValues().get(0), "50");
Assert.assertEquals(roomInfoForm.getMaxHistoryMessages(), 50);
roomInfoForm.setContacts(Arrays.asList(Jid.valueOf("test1@domain"), Jid.valueOf("test2@domain")));
DataForm.Field fieldAdministrators = dataForm.findField("muc#roominfo_contactjid");
Assert.assertNotNull(fieldAdministrators);
Assert.assertEquals(fieldAdministrators.getValues().size(), 2);
Assert.assertEquals(fieldAdministrators.getValues().get(0), "test1@domain");
Assert.assertEquals(fieldAdministrators.getValues().get(1), "test2@domain");
Assert.assertEquals(roomInfoForm.getContacts(), Arrays.asList(Jid.valueOf("test1@domain"), Jid.valueOf("test2@domain")));