/** @test **/ public function it_fetches_the_dirty_values_of_an_existing_model() { $this->createComponent('pages'); $this->insertOn('pages', ['title' => 'Psych!', 'content' => 'GUUUS!!!']); $page = new Page($expected = ['title' => 'House']); $this->assertEquals($expected, $page->getDirty()); }