Link { public String getTitle() { return title; } Link(final URI href,
                final String title); String getTitle(); URI getHref(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test() public void shouldSetTitleToEmptyStringIfTitleIsNull() { final Link link = new Link(EXAMPLE_DOT_ORG, null); assertEquals(link.getTitle(), ""); }
@Test public void shouldAcceptEmptyTitle() { final Link link = new Link(EXAMPLE_DOT_ORG, ""); assertEquals(link.getTitle(), ""); }