### Question:
JsonPointerTracker { public JsonPointerTracker(JsonPointerTracker parent, String currentNode) { this.parent = parent; this.currentNode = currentNode; } JsonPointerTracker(JsonPointerTracker parent, String currentNode);  JsonPointerTracker(JsonPointerTracker jsonPointer, int i); @Override String toString();  }### Answer:
@Test public void testJsonPointerTracker() { JsonPointerTracker jptRoot = new JsonPointerTracker(null, "/"); Assert.assertEquals("/", jptRoot.toString()); JsonPointerTracker jptAttrL1 = new JsonPointerTracker(jptRoot, "attrL1"); JsonPointerTracker jptAttrL2 = new JsonPointerTracker(jptAttrL1, "attrL2"); Assert.assertEquals("/attrL1/attrL2", jptAttrL2.toString()); Assert.assertEquals("/attrL1", jptAttrL1.toString()); }