public function testDeleteTrashItem()
{
$locationService = $this->repository->getLocationService();
$trashService = $this->repository->getTrashService();
$location = $locationService->loadLocation(44);
$trashItem = $trashService->trash($location);
$trashService->deleteTrashItem($trashItem);
try {
$trashService->loadTrashItem($trashItem->id);
self::fail('Succeeded loading deleted trash item');
} catch (NotFoundException $e) {
// Do nothing
}
}