Пример #1
0
 /**
  * @rebuild false
  */
 public function testClone()
 {
     $authors = new AuthorCollection();
     $authors->fetch();
     $clone = clone $authors;
     ok($clone !== $authors);
     $this->assertNotSame($clone->getCurrentReadQuery(), $authors->getCurrentReadQuery());
 }