public function testDeleteTrashedItemFailsWith404()
{
self::markTestSkipped('Makes the DB inconsistent');
// create a folder
$folderArray = $this->createFolder(__FUNCTION__, '/api/ezp/v2/content/locations/1/2');
// send its main location to trash
$folderLocations = $this->getContentLocations($folderArray['_href']);
$this->sendLocationToTrash($folderLocations['LocationList']['Location'][0]['_href']);
// delete the content we created above
$response = $this->sendHttpRequest($this->createHttpRequest('DELETE', $folderArray['_href']));
self::assertHttpResponseCodeEquals($response, 404);
}