/** * 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})"); }