/**
  * Initializes provided context.
  *
  * @param Context $context
  */
 public function initializeContext(Context $context)
 {
     if (!$context instanceof SwiftMailerContext) {
         return;
     }
     $context->setConfiguration($this->manager);
 }
Пример #2
0
 /**
  * @param Context $context
  */
 public function initializeContext(Context $context)
 {
     if (!$context instanceof MailCatcherContext) {
         return;
     }
     $context->setConfiguration($this->client, $this->purgeBeforeScenario);
 }
 /**
  * @param Context $context
  */
 public function initializeContext(Context $context)
 {
     if (!$context instanceof \L0rD59\Behat\LdapExtension\Context) {
         return;
     }
     $context->setConfiguration($this->client, $this->rootDn, $this->bind_before_scenario, $this->purge_before_scenario, $this->authentication);
 }