@Test public void testValueHandling() { FacetProvider provider = new PropertyFacetProvider(); List<Facet> facets = provider.getFacets(PropertiesPojo.class); PropertiesPojo pojo = new PropertiesPojo(); Facet facet = facets.get(0); assertNull(facet.getValue(pojo)); facet.setValue(pojo, "testValue"); assertEquals("testValue", facet.getValue(pojo)); }
@Override public List<Facet> getFacets(Class<?> pojoClass) { return facetsOf(pojoClass); }
PropertyFacetProvider implements FacetProvider { @Override public List<Facet> getFacets(Class<?> pojoClass) { return facetsOf(pojoClass); } }
PropertyFacetProvider implements FacetProvider { @Override public List<Facet> getFacets(Class<?> pojoClass) { return facetsOf(pojoClass); }  }
PropertyFacetProvider implements FacetProvider { @Override public List<Facet> getFacets(Class<?> pojoClass) { return facetsOf(pojoClass); }  @Override List<Facet> getFacets(Class<?> pojoClass); }
PropertyFacetProvider implements FacetProvider { @Override public List<Facet> getFacets(Class<?> pojoClass) { return facetsOf(pojoClass); }  @Override List<Facet> getFacets(Class<?> pojoClass);  }