### Question:
LinkBuilderImpl implements Builder { @Override public Builder link(Link link) { ub = UriBuilder.fromLink(link); params.putAll(link.getParams()); return this; }  @Override Link build(Object... values); @Override Link buildRelativized(URI requestUri, Object... values); @Override Builder link(Link link); @Override Builder link(String link); @Override Builder param(String name, String value); @Override Builder rel(String rel); @Override Builder title(String title); @Override Builder type(String type); @Override Builder uri(URI uri); @Override Builder uri(String uri); @Override Builder uriBuilder(UriBuilder builder); @Override Builder baseUri(URI uri); @Override Builder baseUri(String uri);  }### Answer:
@Test public void testInvalidString() throws Exception { try { Link.Builder linkBuilder = Link.fromMethod(TestResource.class, "consumesAppJson"); linkBuilder.link("</cxf>>"); fail("IllegalArgumentException is expected"); } catch (java.lang.IllegalArgumentException e) { } }