예제 #1
0
파일: MessageTest.php 프로젝트: rexmac/zf2
 public function testWrongMultipart()
 {
     $message = new Message(array('raw' => "Content-Type: multipart/mixed\r\n\r\ncontent"));
     try {
         $message->getPart(1);
     } catch (\Zend\Exception $e) {
         return;
         // ok
     }
     $this->fail('no exception raised while getting part from message without boundary');
 }