protected void checkImportOk(Group group, StaticFiles files, boolean exploded) throws Exception {
PageContext pageContext = createMockPageContext(group.getLocation());
StringWriter out = new StringWriter();
String name = group.getName();
InclusionController ic = InclusionController.getInstance();
ic.printImports(pageContext, out, name, exploded);
String importResult = "";
importResult += files.computeJSScriptCalls(exploded, group.getBestLocation(null));
importResult += files.computeCSSCalls(group.getBestLocation(null));