formatPropertyValue() public method

formats the name of a property
public formatPropertyValue ( string $value, string $property ) : string
$value string
$property string
return string
 /**
  * tests formatting a property value
  *
  * @dataProvider propertyNameTypeDataProvider
  *
  * @param string $propertyName
  * @param string $inputValue
  * @param string $expectedValue
  *
  * @group formatter
  * @group sourcetest
  */
 public function testFormatPropertyValue($propertyName, $inputValue, $expectedValue)
 {
     $actualValue = $this->object->formatPropertyValue($inputValue, $propertyName);
     self::assertSame($expectedValue, $actualValue, "Property {$propertyName} should be {$expectedValue} (was {$actualValue})");
 }