/** * Test loading data from a file * @expectedException Exception * @expectedExceptionMessage Bad JSON in */ public function testLoadData3() { $Repoman = new Repoman(self::$modx, array()); $data = $Repoman->load_data(dirname(__FILE__) . '/repos/pkg5/bad_data/modChunk.bad_json.json', true); }