/** * @dataProvider typesProvider */ public function testExtract($property, array $type = null, $shortDescription, $longDescription) { $this->assertEquals($type, $this->extractor->getTypes('Symfony\\Component\\PropertyInfo\\Tests\\Fixtures\\Dummy', $property)); $this->assertSame($shortDescription, $this->extractor->getShortDescription('Symfony\\Component\\PropertyInfo\\Tests\\Fixtures\\Dummy', $property)); $this->assertSame($longDescription, $this->extractor->getLongDescription('Symfony\\Component\\PropertyInfo\\Tests\\Fixtures\\Dummy', $property)); }