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'); }
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'); }