/** * testRender * * @since 3.0.0 * * @param array $registryArray * @param string $expect * * @dataProvider providerRender */ public function testRender($registryArray = [], $expect = null) { /* setup */ $this->_registry->init($registryArray); $consoleForm = new View\ConsoleForm($this->_registry, $this->_language); /* actual */ $actual = $consoleForm->render(); /* compare */ $this->assertEquals($expect, $actual); }
/** * console form * * @since 3.0.0 * * @return string */ public static function consoleForm() { $consoleForm = new View\ConsoleForm(Registry::getInstance(), Language::getInstance()); return $consoleForm->render(); }