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