getValue() public method

public getValue ( )
Beispiel #1
0
 public function testDefaultValue()
 {
     $opt = new Option('z');
     $opt->defaultValue(10);
     $this->assertEquals(10, $opt->getValue());
     $this->assertEquals('-z[=10]', $opt->renderReadableSpec(true));
 }
Beispiel #2
0
 public function testDefaultValue()
 {
     $opt = new Option('z');
     $opt->defaultValue(10);
     $this->assertEquals(10, $opt->getValue());
 }