core = (CoreContext) app.getBean(CoreContext.CONTEXT_BEAN_NAME); settingDao = (SettingDao) app.getBean(SettingDao.CONTEXT_NAME);
m_core = (CoreContext) app.getBean(CoreContext.CONTEXT_BEAN_NAME); m_settingDao = (SettingDao) app.getBean(SettingDao.CONTEXT_NAME);
    protected void setUp() throws Exception {        ApplicationContext app = TestHelper.getApplicationContext();         core = (CoreContext) app.getBean(CoreContext.CONTEXT_BEAN_NAME);                settingDao = (SettingDao) app.getBean(SettingDao.CONTEXT_NAME);    }