public function testEnable()
{
$i = 0;
$Action = $this->getMockBuilder('Crud\\Action\\BaseAction')->setMethods(['config'])->setConstructorArgs([$this->Controller])->getMock();
$Action->expects($this->at($i++))->method('config', 'enabled was not changed to false by config()')->with('enabled', true);
$Action->enable();
}