public void testFindAllVariablesTest() {

    XMLFileSemanticAnnotationFactoryImpl factory = new XMLFileSemanticAnnotationFactoryImpl();

    //		factory.setDeploymentFile("testdata//bpel.xml");
    //		factory.setBPELFile("testdata//SyncHelloWorld.bpel"); //
    // factory.setWSDLFile("testdata/SyncHelloWorld.wsdl"); //
    // factory.setXSDFile("testdata/SyncHelloWorld.xsd");

    factory.setDeploymentFile("testdata//annotationInBPELFile//bpel.xml");
    factory.setBPELFile("testdata//annotationInBPELFile//SyncHelloWorld.bpel");
    factory.setProcessType(OracleLiteProcess.class);

    List<Variable> variableList = factory.findAllVariables();

    XMLOutputter outputter = new XMLOutputter();

    if (variableList != null) {
      for (Variable v : variableList) {
        try {
          outputter.output(v.getAnnotationElement(), System.out);
          System.out.println("\n");
        } catch (IOException e) {
          e.printStackTrace();
        }
      }
    }
  }