/**
  * @test
  **/
 public function itDeleteModel()
 {
     $model_mock = $this->getMockModelFindDelete();
     $object_id = 1;
     $repository = new EloquentBaseRepository($model_mock);
     $repository->delete($object_id);
 }
 public function __construct()
 {
     return parent::__construct(new Order());
 }
 public function __construct($is_admin = false, $model = null)
 {
     $this->is_admin = $is_admin;
     $model = $model ? $model : new Product();
     return parent::__construct($model);
 }
 public function __construct($is_admin = false)
 {
     $this->is_admin = $is_admin;
     return parent::__construct(new Category());
 }
 public function __construct()
 {
     return parent::__construct(new ProductImage());
 }