/**
  * Handle the message to delete the cached content hold by the identifier
  * through the injected cache proxy.
  * @param \Brickoo\Component\Messaging\Message $message
  * @return void
  */
 public function handleDeleteMessage(Message $message)
 {
     if ($message instanceof DeleteMessage) {
         $this->storageProxy->delete($message->getIdentifier());
     }
 }
 /**
  * @covers Brickoo\Component\Storage\StorageProxy::delete
  * @expectedException \InvalidArgumentException
  */
 public function testDeleteIdentifierThrowsArgumentException()
 {
     $storageProxy = new StorageProxy($this->getAdapterPoolIterator());
     $storageProxy->delete(["wrongType"]);
 }