1
0
mirror of synced 2024-12-13 14:56:01 +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\DefaultEntityListenerResolver', $this->configuration->getEntityListenerResolver());
$quoteStrategy = $this->getMock('Doctrine\ORM\Mapping\EntityListenerResolver');
$this->configuration->setEntityListenerResolver($quoteStrategy);
$this->assertSame($quoteStrategy, $this->configuration->getEntityListenerResolver());
$resolver = $this->getMock('Doctrine\ORM\Mapping\EntityListenerResolver');
$this->configuration->setEntityListenerResolver($resolver);
$this->assertSame($resolver, $this->configuration->getEntityListenerResolver());
}
}