public function testFetchAll()
 {
     $users = $this->userRepository->fetchAll();
     $this->assertContainsOnlyInstancesOf(User::class, $users);
 }
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     return response()->json($this->userRepository->fetchAll());
 }