'aclRole' =>
[ 'name' => self::EXISTING_APP_NAME,
'privileges' =>
[],
],
],
],
$this->context
);
if ($expectAppNotFoundError) { $this->
expectException(AppByNameNotFoundException::
class);
} $response =
$this->adminExtensionApiController->
signUri($requestDataBag,
$this->context
);
if ($expectAppNotFoundError) { return;
} static::
assertSame(Response::HTTP_OK,
$response->
getStatusCode());
$content =
$response->
getContent();
static::
assertIsString($content);
$data = \
json_decode($content, true, 512, \JSON_THROW_ON_ERROR
);
static::
assertIsArray($data);