public function renderCanRenderPlainArray()
{
$array = [['name' => 'Foo', 'secret' => true], ['name' => 'Bar', 'secret' => true]];
$this->view->assign('value', $array);
$this->view->setConfiguration(['value' => ['_descendAll' => ['_only' => ['name']]]]);
$expectedResult = '[{"name":"Foo"},{"name":"Bar"}]';
$actualResult = $this->view->render();
$this->assertEquals($expectedResult, $actualResult);
}