setValue() public method

Sets the value of this argument.
public setValue ( mixed $rawValue ) : Argument
$rawValue mixed The value of this argument
return Argument $this
Esempio n. 1
0
 protected function setupPropertyMapperAndSetValue()
 {
     $this->mockPropertyMapper->expects($this->once())->method('convert')->with('someRawValue', 'string', $this->mockConfiguration)->will($this->returnValue('convertedValue'));
     $this->mockPropertyMapper->expects($this->once())->method('getMessages')->will($this->returnValue(new FLowError\Result()));
     return $this->simpleValueArgument->setValue('someRawValue');
 }