static::
assertSame(Response::HTTP_INTERNAL_SERVER_ERROR,
$e->
getStatusCode());
static::
assertSame(DataAbstractionLayerException::INVALID_CRITERIA_IDS,
$e->
getErrorCode());
$wasThrown = true;
} static::
assertTrue($wasThrown);
$criteria =
new Criteria();
$wasThrown = false;
try { $criteria->
setIds($ids);
} catch (InvalidCriteriaIdsException
$e) { static::
assertSame(Response::HTTP_INTERNAL_SERVER_ERROR,
$e->
getStatusCode());
static::
assertSame(DataAbstractionLayerException::INVALID_CRITERIA_IDS,
$e->
getErrorCode());
$wasThrown = true;
} static::
assertTrue($wasThrown);
} /**
* @return iterable<string, array<mixed>>
*/