SiteMapDirective implements Directive { @Override @Nonnull public String getValue() { return value; } SiteMapDirective(@Nonnull String value); @Override @Nonnull String getField(); @Override @Nonnull String getValue(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @Nonnull @Override String toString();  }
@Test public void givenValidSiteMapDirective_whenGetValue_thenReturnsExpectedValue() { SiteMapDirective siteMapDirective = new SiteMapDirective(VALID_SITE_MAP); assertThat(siteMapDirective.getValue(), equalTo(VALID_SITE_MAP)); }