/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     return Response::json($this->repository->delete($id));
 }
 public function test_get_all()
 {
     echo "\n" . get_class($this->repo) . "\n";
     $products = $this->repo->getAll();
     $this->assertTrue(is_array($products));
 }