예제 #1
0
파일: FeedTest.php 프로젝트: narixx/zf2
 public function testAddingCategoryWithInvalidUriAsSchemeThrowsException()
 {
     $writer = new Writer\Feed();
     try {
         $writer->addCategory(array('term' => 'cat_dog', 'scheme' => 'http://'));
         $this->fail();
     } catch (Writer\Exception $e) {
     }
 }