1
0
mirror of synced 2024-12-14 07:06:04 +03:00
This commit is contained in:
Fabio B. Silva 2012-11-09 16:57:30 -02:00 committed by fabio.silva
parent 6d7b3863b5
commit 3f9a4c82b0

View File

@ -268,9 +268,9 @@ class ConfigurationTest extends PHPUnit_Framework_TestCase
{ {
$this->assertInstanceOf('Doctrine\ORM\Mapping\EntityListenerResolver', $this->configuration->getEntityListenerResolver()); $this->assertInstanceOf('Doctrine\ORM\Mapping\EntityListenerResolver', $this->configuration->getEntityListenerResolver());
$this->assertInstanceOf('Doctrine\ORM\Mapping\DefaultEntityListenerResolver', $this->configuration->getEntityListenerResolver()); $this->assertInstanceOf('Doctrine\ORM\Mapping\DefaultEntityListenerResolver', $this->configuration->getEntityListenerResolver());
$quoteStrategy = $this->getMock('Doctrine\ORM\Mapping\EntityListenerResolver'); $resolver = $this->getMock('Doctrine\ORM\Mapping\EntityListenerResolver');
$this->configuration->setEntityListenerResolver($quoteStrategy); $this->configuration->setEntityListenerResolver($resolver);
$this->assertSame($quoteStrategy, $this->configuration->getEntityListenerResolver()); $this->assertSame($resolver, $this->configuration->getEntityListenerResolver());
} }
} }