### Question:
AbstractLinkProvider implements Serializable { public void addLinkToNode(final Node node, final String title) { final String href = this.provideLink(title); if (href != null && !href.isEmpty()) { node.setHref(href); } }  static AbstractLinkProvider fromParams(final AbstractAllParams<?> all); void addLinkToNode(final Node node, final String title); abstract String provideLink(final String title);  }### Answer:
@Test public void testAddLinkToNode() { Node node = new Node("test"); underTest.addLinkToNode(node, "linktitle"); assertEquals("link:linktitle", node.getHref()); }