query.activityId("intermediateMessageThrowEvent");
assertEquals(1, query.count());
assertEquals("intermediateMessageThrowEvent", query.singleResult().getActivityType());
query.activityId("intermediateNoneThrowEvent");
assertEquals(1, query.count());
assertEquals("intermediateNoneThrowEvent", query.singleResult().getActivityType());
query.activityId("intermediateCompensationThrowEvent");
assertEquals(1, query.count());