/** * RTFN */ public function testMergeCollection() { $collection = $this->getCollectionForMerge(); $this->testable->merge($collection); $this->assertEquals(12, $this->testable->count()); foreach ($collection as $object) { $this->assertTrue($this->testable->has($object->getId())); } }