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