@Test public void getNameReturnsTheFacetName() { PropertyValueGetter propertyValueGetter = mock(PropertyValueGetter.class); FacetGetter facetGetter = mock(FacetGetter.class); FacetDescription instance = new FacetDescriptionImpl(FACET_NAME, PROPERTY_NAME, facetGetter, propertyValueGetter); assertThat(instance.getName(), equalTo(FACET_NAME)); }
@Override public String getName() { return facetName; }
AbstractFacetDescription implements FacetDescription { @Override public String getName() { return facetName; } }
AbstractFacetDescription implements FacetDescription { @Override public String getName() { return facetName; } AbstractFacetDescription(String facetName, String propertyName, FacetGetter facetGetter,
                                  PropertyValueGetter propertyValueGetter); }
AbstractFacetDescription implements FacetDescription { @Override public String getName() { return facetName; } AbstractFacetDescription(String facetName, String propertyName, FacetGetter facetGetter,
                                  PropertyValueGetter propertyValueGetter); @Override String getName(); @Override Facet getFacet(Map<String, Set<Vertex>> values); @Override List<String> getValues(Vertex vertex); }
AbstractFacetDescription implements FacetDescription { @Override public String getName() { return facetName; } AbstractFacetDescription(String facetName, String propertyName, FacetGetter facetGetter,
                                  PropertyValueGetter propertyValueGetter); @Override String getName(); @Override Facet getFacet(Map<String, Set<Vertex>> values); @Override List<String> getValues(Vertex vertex);  }