public function testLoadAsync() { FISResource::load('common:static/common/index/index.js', new Smarty()); $this->assertEqualsIgnoreSeparator(FISResource::getResourceMap(), '{"res":{"common:static/common/ui/async/async.js":{"url":"/static/common/ui/async/async.js","deps":[]}}}'); }