### Question:
RequireJsGenerator { public static Map<String, Object> getPackageOverrides( String group, String artifactId, String version ) { URL overridesUrl = RequireJsGenerator.class.getResource( "/overrides/" + group + "/" + artifactId + "/" + version + "/overrides.json" ); Map<String, Object> overrides = null; if ( overridesUrl != null ) { try { overrides = RequireJsGenerator.parseJson( overridesUrl.openStream() ); } catch ( IOException | ParseException ignored ) { } } return overrides; } private  RequireJsGenerator( Document pom ); private  RequireJsGenerator( String moduleName, String moduleVersion, String jsScript ); private  RequireJsGenerator( Map<String, Object> json ); private  RequireJsGenerator( String moduleName, String moduleVersion ); static RequireJsGenerator parsePom( InputStream inputStream ); static RequireJsGenerator processJsScript( String moduleName, String moduleVersion, InputStream inputStream ); static RequireJsGenerator parseJsonPackage( InputStream inputStream ); static RequireJsGenerator emptyGenerator( String physicalPathNamePart, String physicalPathVersionPart ); static String getWebjarVersionFromPom( InputStream inputStream ); static Map<String, Object> getPackageOverrides( String group, String artifactId, String version ); static boolean findAmdDefine( InputStream is, ArrayList<String> exports ); ModuleInfo getModuleInfo(); ModuleInfo getConvertedConfig( ArtifactInfo artifactInfo, boolean isAmdPackage, String exports, Map<String, Object> overrides );  }### Answer:
@Test public void testGetExistingPackageOverrides() { Map<String, Object> overrides = RequireJsGenerator.getPackageOverrides( "org.webjars", "test", "1.0.0" ); assertNotNull( overrides ); }
@Test public void testGetNonExistingPackageOverrides() { Map<String, Object> overrides = RequireJsGenerator.getPackageOverrides( "org.webjars", "not_there", "1.0.0" ); assertNull( overrides ); }