FluidTYPO3\Flux\Tests\Unit\ViewHelpers\AbstractFormViewHelperTestCase::createMockedInstanceForVariableContainerTests PHP Метод

createMockedInstanceForVariableContainerTests() защищенный Метод

protected createMockedInstanceForVariableContainerTests ( array $methods = [] ) : object
$methods array
Результат object
    protected function createMockedInstanceForVariableContainerTests($methods = array())
    {
        if (TRUE === empty($methods)) {
            $methods[] = 'dummy';
        }
        $instance = $this->getMock($this->getViewHelperClassName(), $methods);
        $instance->setRenderingContext($this->renderingContext);
        return $instance;
    }