public function test_get() { $repo = App::make(LessonRepository::class); $lesson = factory(Lesson::class)->create(); $get = $repo->get($lesson->id); $this->assertInstanceOf(Lesson::class, $get); $this->assertEquals($get->id, $lesson->id); }