コード例 #1
0
ファイル: ArgumentTest.php プロジェクト: curseoff/getopt-php
 public function testConstructor()
 {
     $argument1 = new Argument();
     $argument2 = new Argument(10);
     $this->assertFalse($argument1->hasDefaultValue());
     $this->assertEquals(10, $argument2->getDefaultValue());
 }