/** * console line * * @since 3.0.0 * * @return string */ public static function consoleLine() { $console = new Console\Console(Registry::getInstance(), Request::getInstance(), Config::getInstance()); $output = $console->init('template'); if (is_string($output)) { return htmlentities($output); } }
/** * testInvalid * * @since 3.0.0 */ public function testInvalid() { /* setup */ $console = new Console\Console($this->_registry, $this->_request, $this->_config); /* actual */ $actual = $console->init(); /* compare */ $this->assertFalse($actual); }