/** * RTFN * @expectedException \Kachit\Collection\Exception * @expectedExceptionMessage Object with index "7" all ready exists in collection */ public function testMergeCollectionWithExistingIndex() { $collection = $this->getCollectionForMerge(); $this->testable->append($collection); }