public function isOutputProperty($property, WriterInterface $writer = null) { $propertyHolder = new PropertyHolder(); if (!$propertyHolder->isOutputProperty($property, $writer)) { return false; } return $propertyHolder->isLiteModeProperty($property); }
/** * @dataProvider outputPropertiesDataProvider * * @group filter * @group sourcetest */ public function testIsOutputProperty($propertyName, $isExtra) { $actualValue = $this->object->isOutputProperty($propertyName); self::assertSame($isExtra, $actualValue); }