public function testDeletePublisherAction() { $entityId = $this->sampleObjectLoader->loadPublisher(); $this->client->request('DELETE', '/api/v1/publishers/' . $entityId . '?apikey=' . $this->apikey); $this->assertStatusCode(204, $this->client); }