Пример #1
0
 /**
  * @covers Zend\Db\TableGateway\TableGateway::__clone
  * @todo   Implement test__clone().
  */
 public function test__clone()
 {
     $cTable = clone $this->table;
     //$this->assertNotSame($this->mockAdapter, $cTable->getAdapter());
     $this->assertNotSame($this->table->getSqlInsert(), $cTable->getSqlInsert());
     $this->assertNotSame($this->table->getSqlUpdate(), $cTable->getSqlUpdate());
     $this->assertNotSame($this->table->getSqlDelete(), $cTable->getSqlDelete());
     $this->assertNotSame($this->table->getSqlSelect(), $cTable->getSqlSelect());
 }