示例#1
0
 public function testSingleSizePlusPlus()
 {
     rename($this->_maildir . '/cur/1000000001.P1.example.org:2,FS', $this->_maildir . '/cur/1000000001.P1.example.org,S=456:2,FS');
     $mail = new Storage\Maildir(array('dirname' => $this->_maildir));
     $size = $mail->getSize(2);
     $this->assertEquals(456, $size);
 }