// ksession setup
KieSession kieSessionMock = mock(KieSession.class);
doReturn(kieSessionMock).when(runtimeEngineMock).getKieSession();
// ProcessService setup
ProcessService processServiceMock = mock(ProcessService.class);
test.setProcessServiceMock(processServiceMock);
// UserTaskService setup
UserTaskService userTaskServiceMock = mock(UserTaskService.class);
test.setUserTaskServiceMock(userTaskServiceMock);