public function testDeleteDocument() { $resource = App\Document::create(['title' => 'Tester', 'body' => 'Testing']); $this->resource('documents')->destroy($resource->getKey()); }