getName() public method

Returns the name of this argument
public getName ( ) : string
return string This argument's name
Esempio n. 1
0
 /**
  * @test
  */
 public function passingDataTypeToConstructorReallySetsTheDataType()
 {
     $this->assertEquals('string', $this->simpleValueArgument->getDataType(), 'The specified data type has not been set correctly.');
     $this->assertEquals('someName', $this->simpleValueArgument->getName(), 'The specified name has not been set correctly.');
 }