/** * Test the err method. * * @return void * * @since 1.0 * * @covers Joomla\Console\Command\AbstractCommand::err */ public function testErr() { $this->instance->getOutput()->setOutput(''); $this->instance->err('errrr', false); $this->assertEquals('errrr', $this->instance->getOutput()->getOutput()); }