Exemplo n.º 1
0
 public function testChangeFolder()
 {
     $mail = new Folder\Mbox($this->_params);
     try {
         $mail->selectFolder(DIRECTORY_SEPARATOR . 'subfolder' . DIRECTORY_SEPARATOR . 'test');
     } catch (\Exception $e) {
         $this->fail('exception raised while selecting existing folder');
     }
     $this->assertEquals($mail->getCurrentFolder(), DIRECTORY_SEPARATOR . 'subfolder' . DIRECTORY_SEPARATOR . 'test');
 }
Exemplo n.º 2
0
 public function testChangeFolder()
 {
     $mail = new Folder\Mbox($this->_params);
     $mail->selectFolder(DIRECTORY_SEPARATOR . 'subfolder' . DIRECTORY_SEPARATOR . 'test');
     $this->assertEquals($mail->getCurrentFolder(), DIRECTORY_SEPARATOR . 'subfolder' . DIRECTORY_SEPARATOR . 'test');
 }