/** * @expectedException AmCharts\Chart\Exception\RuntimeException */ public function testFromFileWithWrongFile() { $this->reader->fromFile('foo.xml'); }