### Question:
TypeConverter { public static Value asResource(java.net.URI uri) { return Values.literal(uri.toString()); }  static Value asLiteral(Object o); static Value asLiteral(Date date); static Value asResource(java.net.URI uri); static Value asLiteral(java.net.URI uri); static Value asLiteral(Integer i); static Value asLiteral(String s);  }### Answer:
@Test public void testAsResource() { URI b = null; try { b = new URI("http: } catch (URISyntaxException e) { e.printStackTrace(); } Value resource = TypeConverter.asResource(b); assertNotNull(resource); }