Example #1
0
 public function testSetEncodingThrowsExceptionOnInvalidParameter()
 {
     $writer = new Writer\Feed();
     try {
         $writer->setEncoding('');
         $this->fail();
     } catch (Writer\Exception $e) {
     }
 }