/**
* @param array<int, array<string, mixed>> $appEntities
*/
private function getAppCollection(array
$appEntities): AppCollection
{ $entities =
[];
foreach ($appEntities as $entity) { $appEntity =
new AppEntity();
$appEntity->
assign($entity);
$appEntity->
setUniqueIdentifier($entity['id'
]);
$entities[] =
$appEntity;
} return new AppCollection($entities);
} /**
* @param array<int, array<string, mixed>> $appEntities
* @param array<string, array<string, string>> $expectedSnippets
*/