public function testXGetListAction()
{
$uri = 'roles/xGetList';
$content = $this->request($uri);
if ($content) {
$this->assertResponseDataHasKeys(['role_id' => $this->logicalNot($this->isEmpty()), 'name' => $this->logicalNot($this->isEmpty()), 'behaviors', 'origin' => $this->matchesRegularExpression('/^(SHARED|CUSTOM)$/'), 'cat_name', 'cat_id', 'osId' => $this->logicalNot($this->isEmpty()), 'images', 'variables', 'description'], $content, true, 'roles');
$images = $content['roles'][0]['images'];
if (is_array($images)) {
$arr = array_values(array_values($images)[0])[0];
$this->assertArrayHasKey('id', $arr);
$this->assertArrayHasKey('architecture', $arr);
$this->assertArrayHasKey('type', $arr);
}
}
}