@Test public void testGetAnchorText() { assertThat(nav.getAnchorText()).isEqualTo(anchorText); }
public String getAnchorText() { return anchorText; }
Navigation { public String getAnchorText() { return anchorText; } }
Navigation { public String getAnchorText() { return anchorText; } Navigation(final String anchorText, final String destination); }
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(); }
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();  }