/** * @param string $file * * @return array */ public function getFromFile($file) { return $this->object->getFromFile($file, true); }
/** * @expectedException Exception * @expectedExceptionMessageRegExp /Cannot find method <not_exists>!$/ */ public function testNotFoundMethodsForWrapperException() { $iniFile = new Advini(new Base()); $iniFile->getFromFile(__DIR__ . '/../Resources/Tests/failedSimple.ini'); }