/**
  * @param Context $context
  */
 public function initializeContext(Context $context)
 {
     if ($context instanceof MailCatcherAwareInterface) {
         $context->setMailCatcherClient($this->client);
     }
     if ($context instanceof MailCatcherContext) {
         $context->setMailCatcherConfiguration($this->purgeBeforeScenario);
     }
 }