Esempio n. 1
0
 /**
  * @test
  */
 public function it_sets_the_username()
 {
     $this->mailbox->setUsername('foo');
     $this->assertEquals('foo', $this->mailbox->getUsername());
 }
 /**
  * Opens the connection to the mailbox
  * @return resource
  */
 protected function connect()
 {
     return imap_open($this->mailbox->getMailboxName(), $this->mailbox->getUsername(), $this->mailbox->getPassword());
 }