### Question:
DefaultJsCompiler implements JsCompiler { public JsResponse compile(JsUri jsUri, Iterable<JsContent> content, String externs) { return new JsResponseBuilder().appendAllJs(content).build(); }  Iterable<JsContent> getJsContent(JsUri jsUri, FeatureBundle bundle); JsResponse compile(JsUri jsUri, Iterable<JsContent> content, String externs);  }### Answer:
@Test public void testCompile() throws Exception { JsResponse actual = compiler.compile(null, ImmutableList.of(JsContent.fromText(COMPILE_CONTENT, "js")), null); assertEquals(COMPILE_CONTENT, actual.toJsString()); assertEquals(0, actual.getErrors().size()); }