### Question:
CharterPortaalFondsFacetDescription extends AbstractFacetDescription { @Override public List<String> getValues(Vertex vertex) { VertexProperty<String> fondsNaamProp = vertex.property(FONDS_NAAM); String fondsNaam = fondsNaamProp.isPresent() ? fondsNaamProp.value() : ""; VertexProperty<String> fondsProp = vertex.property(FONDS); String fonds = fondsNaamProp.isPresent() ? fondsProp.value() : ""; return Lists.newArrayList(createFacetValue(fondsNaam, fonds)); } CharterPortaalFondsFacetDescription(String facetName, PropertyParser propertyParser); @Override void filter(GraphTraversal<Vertex, Vertex> graphTraversal, List<FacetValue> facets); @Override List<String> getValues(Vertex vertex); static final Logger LOG; static final String FONDS_NAAM; static final String FONDS; }### Answer:
@Test public void getValuesConcatenatesTheValuesOfFondAndFondsNaam() { Vertex vertex = vertex().withProperty(FONDS, "fonds") .withProperty(FONDS_NAAM, "fondsNaam") .build(); CharterPortaalFondsFacetDescription instance = new CharterPortaalFondsFacetDescription(FACET_NAME, Mockito.mock(PropertyParser.class)); List<String> values = instance.getValues(vertex); assertThat(values, contains("fondsNaam (fonds)")); }