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