public function formatPropertyName($name) { return json_encode($name); }
/** * tests formatting a property name * * @group formatter * @group sourcetest */ public function testFormatPropertyName() { self::assertSame('"text"', $this->object->formatPropertyName('text')); }