예제 #1
0
        public virtual void testQueryByInvalidSuperProcessInstanceId()
        {
            HistoricCaseInstanceQuery query = historyService.createHistoricCaseInstanceQuery();

            query.superProcessInstanceId("invalid");

            assertEquals(0, query.count());
            assertEquals(0, query.list().size());

            query.caseInstanceId(null);

            assertEquals(0, query.count());
            assertEquals(0, query.list().size());
        }