Assert.assertEquals(fieldEnableLogging.getValues().size(), 1);
Assert.assertEquals(fieldEnableLogging.getValues().get(0), "1");
Assert.assertTrue(roomConfigurationForm.isAllowInvites());
roomConfigurationForm.setRolesWhichMayRetrieveMemberList(EnumSet.of(Role.MODERATOR, Role.PARTICIPANT));
DataForm.Field fieldGetMemberList = dataForm.findField("muc#roomconfig_getmemberlist");
Assert.assertNotNull(fieldGetMemberList);
Assert.assertEquals(fieldGetMemberList.getValues().size(), 2);
Assert.assertEquals(fieldGetMemberList.getValues().get(0), "moderator");
Assert.assertEquals(fieldGetMemberList.getValues().get(1), "participant");
Assert.assertEquals(roomConfigurationForm.getRolesWhichMayRetrieveMemberList(), EnumSet.of(Role.MODERATOR, Role.PARTICIPANT));