getDefaultValue() public method

Returns the default value of this argument
public getDefaultValue ( ) : mixed
return mixed The default value
Esempio n. 1
0
 /**
  * @test
  */
 public function setDefaultValueShouldProvideFluentInterfaceAndReallySetDefaultValue()
 {
     $returnedArgument = $this->simpleValueArgument->setDefaultValue('default');
     $this->assertSame($this->simpleValueArgument, $returnedArgument, 'The returned argument is not the original argument.');
     $this->assertSame('default', $this->simpleValueArgument->getDefaultValue());
 }