public function testIntersectCollection() { $c = new Collection(array('id' => 1, 'first_word' => 'Hello')); $this->assertEquals(array('first_word' => 'Hello'), $c->intersect(new Collection(array('first_world' => 'Hello', 'last_word' => 'World')))->all()); }