query.activityId("cancellationEndEvent");
assertEquals(1, query.count());
assertEquals("cancelEndEvent", query.singleResult().getActivityType());
*/
query.activityId("messageEndEvent");
assertEquals(1, query.count());
assertEquals("messageEndEvent", query.singleResult().getActivityType());
query.activityId("errorEndEvent");
assertEquals(1, query.count());