| 1 | <?php |
||
| 11 | class DDC2692Test extends \Doctrine\Tests\OrmFunctionalTestCase |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * {@inheritDoc} |
||
| 15 | */ |
||
| 16 | protected function setUp() |
||
| 17 | { |
||
| 18 | parent::setUp(); |
||
| 19 | |||
| 20 | try { |
||
| 21 | $this->_schemaTool->createSchema(array( |
||
| 22 | $this->_em->getClassMetadata(__NAMESPACE__ . '\DDC2692Foo'), |
||
| 23 | )); |
||
| 24 | } catch(\Exception $e) { |
||
| 25 | return; |
||
| 26 | } |
||
| 27 | $this->_em->clear(); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function testIsListenerCalledOnlyOnceOnPreFlush() |
||
| 43 | } |
||
| 44 | /** |
||
| 62 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.