}
public void testGetRangePrecedingLocation() {
// TODO(user): test cases with intervening nodes, boundary nodes and
// transparent nodes etc..
checkGetRangePrecedingLocation("<x>hello</x>", new Range(1, 2), new Range(1, 2), 3);
checkGetRangePrecedingLocation("<x>hello</x>", new Range(1, 3), new Range(1, 3), 3);
checkGetRangePrecedingLocation("<x>hello</x>", new Range(1, 3), new Range(1, 3), 4);
checkGetRangePrecedingLocation("<x>hello</x>", new Range(1, 3), null, 1);
}