use of org.activiti.engine.identity.GroupQuery in project Activiti by Activiti.
the class GroupQueryTest method testQueryByInvalidType.
public void testQueryByInvalidType() {
GroupQuery query = identityService.createGroupQuery().groupType("invalid");
verifyQueryResults(query, 0);
try {
identityService.createGroupQuery().groupType(null).list();
fail();
} catch (ActivitiIllegalArgumentException e) {
}
}
use of org.activiti.engine.identity.GroupQuery in project Activiti by Activiti.
the class GroupQueryTest method testQueryByInvalidMember.
public void testQueryByInvalidMember() {
GroupQuery query = identityService.createGroupQuery().groupMember("invalid");
verifyQueryResults(query, 0);
try {
identityService.createGroupQuery().groupMember(null).list();
fail();
} catch (ActivitiIllegalArgumentException e) {
}
}
Aggregations