/** * Test destroy route. * * @return void */ public function testDestroy() { Vocabulary::shouldReceive('delete')->once()->andReturn('foo'); $this->call('DELETE', 'v1/vocabularies/1'); $this->assertRequestOk(); }