Ejemplo n.º 1
0
 public function testNoop()
 {
     $mail = new Zend_Mail_Storage_Mbox(array('filename' => $this->_mboxFile));
     try {
         $mail->noop();
     } catch (Exception $e) {
         $this->fail('exception raised while doing nothing (noop)');
     }
 }
Ejemplo n.º 2
0
 public function testFallback()
 {
     $list = new Zend_Mail_Storage_Mbox(array('filename' => $this->_mboxFile));
     try {
         $result = $list->noop();
         $this->assertTrue($result);
     } catch (Exception $e) {
         $this->fail('exception raised while calling noop thru fallback');
     }
 }