assertEquals(7, resources.size());
for (Resource resource : resources) {
final UriLocatorFactory uriLocatorFactory = new GeonetworkMavenWrojManagerFactory().newUriLocatorFactory();
final UriLocator instance = uriLocatorFactory.getInstance(resource.getUri());
final String deps = IOUtils.toString(instance.locate(resource.getUri()), "UTF-8");
if (resource.getUri().contains("sampleFile1a.js")) {
assertEquals("goog.addDependency('" + PATH_TO_WEBAPP_BASE_FROM_CLOSURE_BASE_JS_FILE + "/" + jsTestBaseDirAsPath +
"/sampleFile1a.js', ['1a'], ['2a']);\n", deps);
} else if (resource.getUri().contains("sampleFile1b.js")) {
assertEquals("goog.addDependency('" + PATH_TO_WEBAPP_BASE_FROM_CLOSURE_BASE_JS_FILE + "/" + jsTestBaseDirAsPath +