/** * Should be able to delete a tag by id. */ public function testDeleteById() { $this->tagModel->shouldReceive('where->first->delete')->andReturnTrue(); $this->assertTrue($this->tagRepository->deleteById(5)); }