### Question:
DutchCaribbeanArchiveAndArchiverPeriodFacetDescription implements FacetDescription { @Override public Facet getFacet(Map<String, Set<Vertex>> values) { return facetGetter.getFacet(facetName, values); } DutchCaribbeanArchiveAndArchiverPeriodFacetDescription(String facetName, String beginYear, String endYear);   DutchCaribbeanArchiveAndArchiverPeriodFacetDescription(String facetName, String beginYear, String endYear,
                                                         FacetGetter facetGetter); @Override String getName(); @Override Facet getFacet(Map<String, Set<Vertex>> values); @Override void filter(GraphTraversal<Vertex, Vertex> graphTraversal, List<FacetValue> facets); @Override List<String> getValues(Vertex vertex);  }### Answer:
@Test public void getFacetDelegatesToTheFacetGetter() { FacetGetter facetGetter = mock(FacetGetter.class); HashMap<String, Set<Vertex>> values = Maps.newHashMap(); Facet facet = mock(Facet.class); given(facetGetter.getFacet(FACET_NAME, values)).willReturn(facet); DutchCaribbeanArchiveAndArchiverPeriodFacetDescription instance = new DutchCaribbeanArchiveAndArchiverPeriodFacetDescription(FACET_NAME, BEGIN_YEAR, END_YEAR, facetGetter); Facet actualFacet = instance.getFacet(values); assertThat(actualFacet, is(sameInstance(facet))); verify(facetGetter).getFacet(FACET_NAME, values); }