/**
  * Tests the update function in the CommodityController
  * @depends testStore
  * @param void
  * @return void
  */
 public function testDelete()
 {
     $this->be(User::first());
     $this->runStore($this->input);
     $commodity = new CommodityController();
     $commodity->delete(1);
     $commodityDeleted = Commodity::withTrashed()->find(1);
     $this->assertNotNull($commodityDeleted->deleted_at);
 }