/** * */ public function testGetterAndSetter() { $this->protocol = new IMAP(); $this->protocol->setMailserver('imap.gmail.com')->setPort(993)->setFolder('INBOX')->setSsl(true); $this->assertEquals('INBOX', $this->protocol->getFolder()); $this->assertEquals(993, $this->protocol->getPort()); $this->assertEquals('imap.gmail.com', $this->protocol->getMailserver()); $this->assertTrue($this->protocol->isSsl()); }