public void testUploadProcess() throws FileNotFoundException, IOException, Exception {
    LogUtil.info(getClass().getName(), ">>> testUploadProcess");

    BufferedReader reader = null;
    String fileContents = "";
    String line;

    try {
      reader = new BufferedReader(new InputStreamReader(getClass().getResourceAsStream(xpdl)));
      while ((line = reader.readLine()) != null) {
        fileContents += line + "\n";
      }
    } finally {
      if (reader != null) {
        reader.close();
      }
    }
    byte[] processDefinitionData = fileContents.getBytes();
    workflowManager.processUpload(null, processDefinitionData);
  }