Пример #1
0
 public function testSetGetQuoteStrategy()
 {
     $this->assertInstanceOf('Doctrine\\ORM\\Mapping\\QuoteStrategy', $this->configuration->getQuoteStrategy());
     $quoteStrategy = $this->getMock('Doctrine\\ORM\\Mapping\\QuoteStrategy');
     $this->configuration->setQuoteStrategy($quoteStrategy);
     $this->assertSame($quoteStrategy, $this->configuration->getQuoteStrategy());
 }