### Question:
TurtleValueUtils { public String toString(Value v) { String result=null; if(v instanceof URI) { result=writeURI((URI)v); } else if(v instanceof BNode) { result=writeBNode((BNode)v); } else if(v instanceof Literal) { result=writeLiteral((Literal)v); } else { throw new IllegalStateException("Unexpected value type "+v.getClass().getCanonicalName()); } return result; } TurtleValueUtils(URI base, Map<String,String> namespaceTable); String toString(Value v); static int compare(URI u1, URI u2);  }### Answer:
@Test public void testToString$child() throws Exception { System.out.println("Child: "+sut.toString(vf.createURI(BASE+"child"))); }
@Test public void testToString$ancestor() throws Exception { System.out.println("Ancestor: "+sut.toString(vf.createURI(BASE+".."))); }
@Test public void testToString$self() throws Exception { System.out.println("Self: "+sut.toString(vf.createURI(BASE.concat(".")))); }
@Test public void testToString$sameAsBase() throws Exception { System.out.println("Same as base: "+sut.toString(vf.createURI(BASE))); }
@Test public void testToString$baseAsResource() throws Exception { System.out.println("Base as resource: "+sut.toString(vf.createURI(BASE.substring(0,BASE.length()-1)))); }