long id = workflow.initialize("file:double.xml", 1, new HashMap());
long id = workflow.initialize(getClass().getClassLoader().getResource("/double.xml").toString(), 1, new HashMap());
    public void testDoubleFunctionExecution() throws Exception {     long id = workflow.initialize("file:double.xml", 1, new HashMap());      Map inputs = new HashMap();      inputs.put("test", this);      workflow.doAction(id, 3, inputs);      assertEquals("function executed unexpected number of times", 2, counter);    }