/**
* @author Baptiste Leduc <baptiste.leduc@gmail.com>
*/
class PhpStanExtractorTest extends TestCase
{ private PhpStanExtractor
$extractor;
private PhpDocExtractor
$phpDocExtractor;
protected function setUp(): void
{ $this->extractor =
new PhpStanExtractor();
$this->phpDocExtractor =
new PhpDocExtractor();
} /**
* @dataProvider typesProvider
*/
public function testExtract($property, array
$type = null
) { $this->
assertEquals($type,
$this->extractor->
getTypes('Symfony\Component\PropertyInfo\Tests\Fixtures\Dummy',
$property));
}