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