Ejemplo n.º 1
0
 /**
  * Tests if the correct exception gets thrown when there's an error in the XML
  *
  * @expectedException \AxTvDb\Exception\XmlException
  */
 public function testIfExceptionThrownWhenXmlEmpty()
 {
     XmlParser::$libXmlLoaded = false;
     $xmlData = 'test';
     XmlParser::getXml($xmlData, false);
 }