.createHistoricActivityStatisticsQuery(processDefinitionId);
assertEquals(1, query.orderByActivityId().asc().list().size());
assertEquals(1, query.orderByActivityId().desc().list().size());
assertEquals(1, query.orderByActivityId().asc().count());
assertEquals(1, query.orderByActivityId().desc().count());
}
@Deployment(resources= {"org/camunda/bpm/engine/test/history/HistoricActivityStatisticsQueryTest.testSingleTask.bpmn20.xml",
"org/camunda/bpm/engine/test/history/HistoricActivityStatisticsQueryTest.testAnotherSingleTask.bpmn20.xml"})