コード例 #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) {
     }
 }