Exemplo n.º 1
0
 /**
  * Returns the Mailbox object for the given folder and config
  * @param string $folder
  * @param string $configPath
  * @return Mailbox
  * @throws Exception
  */
 protected static function getMailbox($folder, $configPath)
 {
     return MailboxFactory::create($folder, $configPath);
 }
 /**
  * @test
  */
 public function it_sets_validate_cert_from_the_config_file()
 {
     $mailbox = MailboxFactory::create('INBOX', __DIR__ . '/imap_config/imap_config.php');
     $this->assertTrue($mailbox->isValidateCert());
 }