PHP Класс N98\Magento\Command\Developer\ClassLookupCommandTest

Наследование: extends N98\Magento\Command\PHPUnit\TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
classLookupProvider ( ) : array Provide data for the class lookup testExecute()
testExecute ( string $type, string $name, string $expected, boolean $exists ) Test that the class lookup command resolves to the expected Magento class, and optionally whether it outputs a notice informing that the class doesn't exist

Описание методов

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

Provide data for the class lookup testExecute()
public classLookupProvider ( ) : array
Результат array

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

Test that the class lookup command resolves to the expected Magento class, and optionally whether it outputs a notice informing that the class doesn't exist
public testExecute ( string $type, string $name, string $expected, boolean $exists )
$type string Model, helper, block
$name string Magento dev code
$expected string Resolved class name
$exists boolean Whether the resolved class should exist