/**
  * Tests the update function in the SpecimenRejectionController
  */
 public function testDelete()
 {
     $this->withoutMiddleware();
     $this->call('POST', '/specimenrejection', $this->rejectionReasonData);
     $rejectionReasonstored = RejectionReason::orderBy('id', 'desc')->first();
     $this->call('DELETE', '/specimenrejection/' . $rejectionReasonstored->id, $this->rejectionReasonData);
     $this->assertEquals(34, RejectionReason::all()->count());
 }