public function testTriggersWarningOnFailedDeleteFromStorage()
{
$this->storage->expects($this->once())->method('deleteImageVariations')->with($this->user, $this->imageIdentifier)->will($this->throwException(new StorageException()));
$this->listener->deleteVariations($this->event);
}