@Test public void testGetType() { FacetProvider provider = new PropertyFacetProvider(); List<Facet> facets = provider.getFacets(PropertiesPojo.class); Facet facet = facets.get(0); assertEquals(String.class, facet.getType().getRawType()); }
@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);  }