Beispiel #1
0
 /**
  * Test set & get usage.
  *
  * @return void
  *
  * @since  1.0
  *
  * @covers Joomla\Console\Command\AbstractCommand::getUsage
  */
 public function testSetAndGetUsage()
 {
     $this->instance->setUsage('yoo <command> [option]');
     $this->assertEquals('yoo <command> [option]', $this->instance->getUsage(), 'Usage text not matched.');
 }