@Test
public void testToString_failure() {

  expect(error.getFailureMessage()).andReturn("failure").atLeastOnce();
  replay();
  assertEquals("line 3, column 5:\nfailure", ErrorReporter.toString(error, new Location(3, 5)));
}