sourceMap.addMapping("source1.html", null, new FilePosition(10, 0),
new FilePosition(0, 0), new FilePosition(0, 100));
sourceMap.addMapping("source2.html", null, new FilePosition(10, 0),
new FilePosition(1, 0), new FilePosition(1, 100));
StringBuilder output = new StringBuilder();
sourceMap.appendTo(output, "unused.js");
compilerOptions = new CompilerOptions();
compilerOptions.inputSourceMaps = ImmutableMap.of(
"[testcode]", new SourceMapInput(
SourceFile.fromCode("example.srcmap", output.toString())));