### Question:
RdfValueToTermConverter { public Predicate convertUriToPredicate(final URI uri, int arity) { final String escapedURIString = NTriplesUtil.escapeString(uri.toString()); return termFactory.makePredicate(escapedURIString, arity); } RdfValueToTermConverter(boolean skolemize); Term convertValue(final Value value); Term convertBlankNode(final BNode bNode); Term convertUri(final URI uri); Term convertLiteral(final Literal literal); Predicate convertUriToPredicate(final URI uri, int arity);  }### Answer:
@Test public void convertUriToPredicate_succeeds() { URI uri = new URIImpl("http: RdfValueToTermConverter converter = new RdfValueToTermConverter(true); Predicate predicate = converter.convertUriToPredicate(uri, 2); assertEquals("http: assertEquals(2, predicate.getArity()); }