// setup
setupTaskMocks(this, FOR_PROCESS_TASKS);
this.processRequestBean.setAuditLogService(auditLogService);
// run cmd (no deploymentId set on JaxbConmandsRequest object
JaxbCommandsRequest
cmdsRequest = new JaxbCommandsRequest(new FindProcessInstancesCommand());
JaxbCommandsResponse
response = this.execute(cmdsRequest);
// check result
assertEquals( "Number of response objects", 1, response.getResponses().size() );
JaxbCommandResponse<?>
responseObj = response.getResponses().get(0);
assertFalse( "Command did not complete successfully", responseObj instanceof JaxbExceptionResponse );
// run cmd (no deploymentId set on JaxbConmandsRequest object
cmdsRequest = new JaxbCommandsRequest(new ClearHistoryLogsCommand());
response = this.execute(cmdsRequest);
// check result
assertEquals( "Number of response objects", 0, response.getResponses().size() );