assertEmpty($mgr->get_included_files()); } /** * Tests by checking api/js/jsapi/egw_config.js, which requires egw_core.js */ public function testConfig() { $mgr = new Framework\IncludeMgr(); $mgr->include_js_file('/api/js/jsapi/egw_config.js'); $this->assertEquals( array('/api/js/jsapi/egw_core.js', '/api/js/jsapi/egw_config.js'), $mgr->get_included_files(true) ); } }