public function testCreateExistingFolder() { $mail = new Zend_Mail_Storage_Imap($this->_params); try { $mail->createFolder('subfolder/test'); } catch (Exception $e) { return; // ok } $this->fail('should not be able to create existing folder'); }
public function testCreateExistingFolder() { $mail = new Zend_Mail_Storage_Imap($this->_params); try { $mail->createFolder('subfolder/test'); } catch (Exception $e) { return; // ok } $this->fail('should not be able to create existing folder'); }