Exemplo n.º 1
0
 public function testGetTypesCatchException()
 {
     $this->assertNull($this->extractor->getTypes('Not\\Exist', 'baz'));
 }
 /**
  * @dataProvider typesProvider
  */
 public function testExtract($property, array $type = null)
 {
     $this->assertEquals($type, $this->extractor->getTypes('Symfony\\Bridge\\Doctrine\\Tests\\PropertyInfo\\Fixtures\\DoctrineDummy', $property, array()));
 }