Esempio n. 1
0
 public function testConstruct()
 {
     $server = new Server('imap.example.com');
     $this->assertInstanceOf('\\Fetch\\Imap', $server->getImap(), 'Default Imap wrapper must be set in constructor');
     $this->assertEquals('imap.example.com', $server->getServerPath());
     $this->assertContains('novalidate-cert', $server->getFlags());
 }