checks if a property should be in the output
public isOutputProperty ( string $property, Browscap\Writer\WriterInterface $writer = null ) : boolean | ||
$property | string | |
$writer | Browscap\Writer\WriterInterface | |
return | boolean |
/** * @dataProvider outputPropertiesDataProvider * * @group filter * @group sourcetest */ public function testIsOutputProperty($propertyName, $isExtra) { $actualValue = $this->object->isOutputProperty($propertyName); self::assertSame($isExtra, $actualValue); }