/** * Test set & get application. * * @return void * * @since 1.0 * * @covers Joomla\Console\Command\AbstractCommand::getApplication */ public function testSetAndGetApplication() { $this->instance->setApplication(new Console()); $this->assertInstanceOf('Joomla\\Console\\Console', $this->instance->getApplication(), 'Returned not Console object.'); }