public function test_update()
{
$repo = App::make(MatterRepository::class);
$matter = factory(Matter::class)->create();
$update = $repo->update(['name' => 'oi 2'], $matter->id);
$this->assertInstanceOf(Matter::class, $update);
$this->assertEquals($matter->id, $update->id);
}