assertTrue(conf.getSettingValue(Conference.ORGANIZER_CODE).toString().length() > 0); assertTrue(conf.getSettingValue(Conference.PARTICIPANT_CODE).toString().length() > 0);
assertTrue(m_conf.getSettingValue(Conference.ORGANIZER_CODE).toString().length() > 0); assertTrue(m_conf.getSettingValue(Conference.PARTICIPANT_CODE).toString().length() > 0);
    public void testGenerateAccessCodes() {        Conference conf = (Conference) TestHelper.getApplicationContext().getBean(                "conferenceConference", Conference.class);        conf.generateAccessCodes();        assertTrue(conf.getSettingValue(Conference.ORGANIZER_CODE).toString().length() > 0);        assertTrue(conf.getSettingValue(Conference.PARTICIPANT_CODE).toString().length() > 0);    }