getDataType() public method

Returns the data type of this argument's value
public getDataType ( ) : string
return string The data type
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.');
 }