}
public void testLookup_firstCharInSecondLine() {
DefaultSourceLocator locator = new DefaultSourceLocator("whatever", 2, 3);
addLineBreaks(locator, 3, 5, 7);
assertEquals(new Location(3, 1), locator.lookup(4));
}
public void testLookup_lastCharInSecondLine() {
DefaultSourceLocator locator = new DefaultSourceLocator("whatever", 2, 3);
addLineBreaks(locator, 3, 5, 7);