### Question:
Navigation { public String getAnchorText() { return anchorText; } Navigation(final String anchorText, final String destination); @Override boolean equals(final Object obj); String getAnchorText(); String getDestination(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testGetAnchorText() { assertThat(nav.getAnchorText()).isEqualTo(anchorText); }