+ "<testcase time=\"0.000\" classname=\"com.googlecode.jslint4java\" name=\"hello.js\">"
+ "<failure message=\"Found 2 problems\" type=\"java.lang.AssertionError\">"
+ "hello.js:1:1:too many aardvarks\n" + "hello.js:1:2:too few aardvarks\n"
+ "</failure>" + "</testcase>" + "</testsuite>";
String name = "hello.js";
Issue issue1 = new Issue.IssueBuilder(name, 1, 1, "too many aardvarks").build();
Issue issue2 = new Issue.IssueBuilder(name, 1, 2, "too few aardvarks").build();
JSLintResult result = new JSLintResult.ResultBuilder(name).duration(0).addIssue(issue1)
.addIssue(issue2).build();
XMLAssert.assertXMLEqual(expected, form.format(result));
}