Beispiel #1
0
 public function testNoop()
 {
     $mail = new Storage\Mbox(array('filename' => $this->_mboxFile));
     $mail->noop();
 }
Beispiel #2
0
 public function testFallback()
 {
     $list = new 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');
     }
 }
 public function testFallback()
 {
     $list = new Storage\Mbox(array('filename' => $this->_mboxFile));
     $result = $list->noop();
     $this->assertTrue($result);
 }
Beispiel #4
0
 public function testNoop()
 {
     $mail = new Storage\Mbox(array('filename' => $this->_mboxFile));
     try {
         $mail->noop();
     } catch (\Exception $e) {
         $this->fail('exception raised while doing nothing (noop)');
     }
 }