Пример #1
0
 public function testChangeFolder()
 {
     $mail = new Storage\Imap($this->_params);
     try {
         $mail->selectFolder('subfolder/test');
     } catch (\Exception $e) {
         $this->fail('exception raised while selecting existing folder');
     }
     $this->assertEquals($mail->getCurrentFolder(), 'subfolder/test');
 }
Пример #2
0
 public function testChangeFolder()
 {
     $mail = new Storage\Imap($this->_params);
     $mail->selectFolder('subfolder/test');
     $this->assertEquals($mail->getCurrentFolder(), 'subfolder/test');
 }