*/ class DefaultQuoteStrategyTest extends OrmTestCase { /** * @group DDC-3590 * @group 1316 */ public function testGetJoinTableName() { $em = $this->_getTestEntityManager(); $metadata = $em->getClassMetadata(NonPublicSchemaUser::CLASSNAME); /* @var $platform \Doctrine\DBAL\Platforms\AbstractPlatform */ $strategy = new DefaultQuoteStrategy(); $platform = $this->getMockForAbstractClass('Doctrine\DBAL\Platforms\AbstractPlatform'); $this->assertSame( 'readers.author_reader', $strategy->getJoinTableName($metadata->associationMappings['readers'], $metadata, $platform) ); } }