JSONPointer { @Override public String toString() { StringBuilder rval = new StringBuilder(""); for (String token : this.refTokens) { rval.append('/').append(escape(token)); } return rval.toString(); } JSONPointer(final String pointer);  JSONPointer(List<String> refTokens); static Builder builder(); Object queryFrom(Object document); @Override String toString(); String toURIFragment();  }
@Test public void emptyPointerToString() { assertEquals("", new JSONPointer("").toString()); }