public function testMergeIsNotUnique() { $collection2 = new \Spot\Entity\Collection(); $this->collection->add(new Entity_Post(array('foo' => 'bar'))); $collection2->add(new Entity_Post(array('foo' => 'bar'))); $collection2->add(new Entity_Post()); $collection2->merge($this->collection, false); $this->assertEquals(3, count($collection2)); }