@Test
  public void startProcessTest() {
    StatefulKnowledgeSession ksession = createProcessSession();

    ProcessInstance processInstance = ksession.startProcess("Minimal");

    Assert.assertNotNull(processInstance);

    Assert.assertEquals("Minimal", processInstance.getProcessId());
  }
  @Test
  public void startProcessWithParametersTest() {
    StatefulKnowledgeSession ksession = createProcessSession();
    Map<String, Object> parameters = new HashMap<String, Object>();
    parameters.put("long", 1L);
    ProcessInstance processInstance = ksession.startProcess("Minimal", parameters);

    Assert.assertNotNull(processInstance);

    Assert.assertEquals("Minimal", processInstance.getProcessId());
  }