### Question:
MetaInfRequireJson implements IRequireJsPackage { public URL getScriptResource( String name ) { return null; } MetaInfRequireJson( Map<String, Object> requireJsonObject ); @Override String getName(); @Override String getVersion(); @Override String getWebRootPath(); @Override boolean preferGlobal(); @Override Map<String, String> getModules(); @Override String getModuleMainFile( String moduleId ); @Override Map<String, String> getDependencies(); @Override boolean hasScript( String name ); URL getScriptResource( String name ); @Override Map<String, Map<String, ?>> getConfig(); @Override Map<String, Map<String, String>> getMap(); @Override Map<String, Map<String, ?>> getShim(); boolean isAmdPackage(); String getExports();  }### Answer:
@Test public void getScriptResource() { MetaInfRequireJson requireJson = new MetaInfRequireJson( requireMeta ); assertNull( requireJson.getScriptResource( "preconfig" ) ); }