Beispiel #1
0
 public function testAddingCategoryWithInvalidUriAsSchemeThrowsException()
 {
     $writer = new Writer\Feed();
     try {
         $writer->addCategory(array('term' => 'cat_dog', 'scheme' => 'http://'));
         $this->fail();
     } catch (Writer\Exception $e) {
     }
 }