Crud\TestCase\Action\BaseActionTest::testEnable PHP Метод

testEnable() публичный Метод

Test that calling enable() on the action object enables the action
public testEnable ( ) : void
Результат void
    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();
    }