private function load($name) { $result = $this->loader->load(__DIR__ . '/../../../../../Resources/DataFixtures/Page/' . $name); return $result; }
/** * bad format * * @covers Phossa\Config\Loader\XmlLoader::load() * @expectedException Phossa\Config\Exception\LogicException * @expectedExceptionMessageRegExp "Opening" * @expectedExceptionCode Phossa\Config\Message\Message::CONFIG_FORMAT_ERROR */ public function testLoad3() { $this->assertEquals(['test' => 'wow'], XmlLoader::load(__DIR__ . '/conf/config_bad.xml')); }