Ejemplo n.º 1
0
 public function testSetCommentFeedLinkThrowsExceptionOnInvalidType()
 {
     $entry = new Writer\Entry();
     try {
         $entry->setCommentFeedLink(array('uri' => 'http://www.example.com/id/comments', 'type' => 'foo'));
         $this->fail();
     } catch (Writer\Exception $e) {
     }
 }