super.setUp(); DatabaseHelper.createDatabase("");  XmlBeanFactory beanFactory = new XmlBeanFactory(new ClassPathResource("osworkflow-spring.xml"));   workflow.setConfiguration((Configuration) beanFactory.getBean("osworkflowConfiguration"));
try { super.setUp(); DatabaseHelper.createDatabase("");  XmlBeanFactory beanFactory = new XmlBeanFactory(new ClassPathResource("osworkflow-spring.xml"));   workflow.setConfiguration((Configuration) beanFactory.getBean("osworkflowConfiguration")); } catch(Exception e) { log.error(e); }
    protected void setUp() throws Exception {        super.setUp();        DatabaseHelper.createDatabase("");        XmlBeanFactory beanFactory = new XmlBeanFactory(new ClassPathResource("osworkflow-spring.xml"));        //workflow = (AbstractWorkflow) beanFactory.getBean("workflow");        workflow.setConfiguration((Configuration) beanFactory.getBean("osworkflowConfiguration"));    }