@dataProvider getPropertyTests
public function testSetProperty($property, $changeKey) {
$def = new DefinitionDecorator('foo');
$getter = 'get' . ucfirst($property);
$setter = 'set' . ucfirst($property);
$this
->assertNull($def
->{$getter}());
$this
->assertSame($def, $def
->{$setter}('foo'));
$this
->assertEquals('foo', $def
->{$getter}());
$this
->assertEquals(array(
$changeKey => true,
), $def
->getChanges());
}