/**
  * {@inheritdoc}
  */
 public function initializeContext(Context $context)
 {
     if (!$context instanceof MailCatcherAwareContext) {
         return;
     }
     $context->setMailCatcher($this->mailcatcher);
 }