### Question:
TextRangeImpl implements TextRange { @Override public String toString() { return "TextRange[" + start.line() + ", " + start.lineOffset() + ", " + end.line() + ", " + end.lineOffset() + ']'; } TextRangeImpl(int startLine, int startLineOffset, int endLine, int endLineOffset);  TextRangeImpl(TextPointer start, TextPointer end); @Override TextPointer start(); @Override TextPointer end(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void test_toString() { assertThat(new TextRangeImpl(p1, p2).toString()).isEqualTo("TextRange[1, 2, 3, 4]"); }