return result;
}
@SuppressWarnings("unchecked")
private DefaultJsCompiler mockDefaultJsCompiler(JsResponse res, Iterable<JsContent> content) {
DefaultJsCompiler result = createMock(DefaultJsCompiler.class);
expect(result.getJsContent(isA(JsUri.class), isA(FeatureBundle.class)))
.andReturn(content).anyTimes();
expect(result.compile(isA(JsUri.class), isA(Iterable.class), isA(String.class)))
.andReturn(res).anyTimes();
replay(result);
return result;
}