builder = this.processInstanceLogQuery().startDate(start); resultList = builder.build().getResultList(); assertEquals( "start date query result", 2, resultList.size());
ProcessInstanceLog log = auditService.findProcessInstance(procInstId); List<org.kie.api.runtime.manager.audit.ProcessInstanceLog> logs = auditService.processInstanceLogQuery().startDate(log.getStart()).build().getResultList(); assertNotNull( "Null List of ProcessInstanceLog", logs ); assertFalse( "Empty List of ProcessInstanceLog", logs.isEmpty() );
builder = this.processInstanceLogQuery().startDate(start); resultList = builder.build().getResultList(); assertEquals( "start date query result", 2, resultList.size());