m_gatewayContext = (GatewayContext) TestHelper.getApplicationContext().getBean( "gatewayContextImpl"); m_modelFilesContext = (ModelFilesContext) TestHelper.getApplicationContext().getBean( "modelFilesContext");
m_model = (AudioCodesModel) TestHelper.getApplicationContext().getBean( "gmAudiocodesMP1X4_4_FXO"); m_gateway = (MediantGateway) TestHelper.getApplicationContext().getBean("gwAudiocodesMediant"); m_gateway.setBeanId(m_model.getBeanId()); m_gateway.setModelId(m_model.getModelId());
    protected void setUp() throws Exception {        m_gatewayContext = (GatewayContext) TestHelper.getApplicationContext().getBean(                "gatewayContextImpl");        m_modelFilesContext = (ModelFilesContext) TestHelper.getApplicationContext().getBean(                "modelFilesContext");    }