Esempio n. 1
0
 public function testMultipleParamsToHas()
 {
     $options = new Ergo_Console_Options(array('x.php', 'file'));
     $options->define(array('--blargh', ':file'));
     $this->assertFalse($options->has('-v'));
     $this->assertTrue($options->has(':file'));
     $this->assertTrue($options->has('-v', ':file'));
 }