public function testViewWithArrayIndexAction()
{
$this->request->expects($this->once())->method('method')->will($this->returnValue('GET'));
$this->controller->expects($this->once())->method('render')->with('overview');
$this->Crud->mapAction('show_all', ['className' => 'Crud.index']);
$this->Crud->view(['show_all' => 'index', 'index' => 'overview']);
$this->Crud->execute('index');
}