@Test public void createListFacetDescriptionWithARelationLetsThePropertyParserFactoryCreateAParser() { FacetDescription description = instance.createListFacetDescription("facetName", String.class, "propertyName", "relation"); verify(parserFactory).getParser(String.class); }
public FacetDescription createListFacetDescription(String facetName, PropertyParser parser, String propertyName) { return new ListFacetDescription(facetName, propertyName, parser); }
FacetDescriptionFactory { public FacetDescription createListFacetDescription(String facetName, PropertyParser parser, String propertyName) { return new ListFacetDescription(facetName, propertyName, parser); } }
FacetDescriptionFactory { public FacetDescription createListFacetDescription(String facetName, PropertyParser parser, String propertyName) { return new ListFacetDescription(facetName, propertyName, parser); } FacetDescriptionFactory(PropertyParserFactory parserFactory); }
FacetDescriptionFactory { public FacetDescription createListFacetDescription(String facetName, PropertyParser parser, String propertyName) { return new ListFacetDescription(facetName, propertyName, parser); } FacetDescriptionFactory(PropertyParserFactory parserFactory); FacetDescription createListFacetDescription(String facetName, PropertyParser parser, String propertyName); FacetDescription createListFacetDescription(String facetName, Class<?> typeToParse, String propertyName); FacetDescription createListFacetDescription(String facetName, PropertyParser parser, String propertyName,
                                                     String... relations); FacetDescription createListFacetDescription(String facetName, Class<?> typeToParse, String propertyName,
                                                     String... relations); FacetDescription createDerivedListFacetDescription(String facetName, String relationName,
                                                            Class<?> typeToParse, String propertyName,
                                                            String... relations); FacetDescription createDerivedListFacetDescription(String facetName, List<String> relationNames,
                                                            Class<?> typeToParse, String propertyName,
                                                            String... relations); FacetDescription createKeywordDescription(String facetName, String relationName, final String projectPrefix); FacetDescription createDerivedKeywordDescription(String facetName, String relationName,
                                                          final String projectPrefix, String... relations); FacetDescription createDatableRangeFacetDescription(String facetName, String propertyName,
                                                             String... relations); FacetDescription createDatableRangeFacetDescription(String facetName, String propertyName); FacetDescription createChangeRangeFacetDescription(String facetName, String propertyName); FacetDescription createMultiValueListFacetDescription(String facetName, String propertyName); FacetDescription createMultiValueListFacetDescription(String facetName, String propertyName,
                                                               String... relations); FacetDescription createEdgeFacetDescription(String facetName, String... relationNames); FacetDescription createDcarArchiveAndArchiverPeriodFacetDescription(String facetName, String startYear,
                                                                             String endYear); FacetDescription createJoinedListFacetDescription(String facetName, String propertyName, String separator); FacetDescription createAltNameFacetDescription(String facetName, String propertyName); FacetDescription createCharterFondsFacetDescription(String facetName); }
FacetDescriptionFactory { public FacetDescription createListFacetDescription(String facetName, PropertyParser parser, String propertyName) { return new ListFacetDescription(facetName, propertyName, parser); } FacetDescriptionFactory(PropertyParserFactory parserFactory); FacetDescription createListFacetDescription(String facetName, PropertyParser parser, String propertyName); FacetDescription createListFacetDescription(String facetName, Class<?> typeToParse, String propertyName); FacetDescription createListFacetDescription(String facetName, PropertyParser parser, String propertyName,
                                                     String... relations); FacetDescription createListFacetDescription(String facetName, Class<?> typeToParse, String propertyName,
                                                     String... relations); FacetDescription createDerivedListFacetDescription(String facetName, String relationName,
                                                            Class<?> typeToParse, String propertyName,
                                                            String... relations); FacetDescription createDerivedListFacetDescription(String facetName, List<String> relationNames,
                                                            Class<?> typeToParse, String propertyName,
                                                            String... relations); FacetDescription createKeywordDescription(String facetName, String relationName, final String projectPrefix); FacetDescription createDerivedKeywordDescription(String facetName, String relationName,
                                                          final String projectPrefix, String... relations); FacetDescription createDatableRangeFacetDescription(String facetName, String propertyName,
                                                             String... relations); FacetDescription createDatableRangeFacetDescription(String facetName, String propertyName); FacetDescription createChangeRangeFacetDescription(String facetName, String propertyName); FacetDescription createMultiValueListFacetDescription(String facetName, String propertyName); FacetDescription createMultiValueListFacetDescription(String facetName, String propertyName,
                                                               String... relations); FacetDescription createEdgeFacetDescription(String facetName, String... relationNames); FacetDescription createDcarArchiveAndArchiverPeriodFacetDescription(String facetName, String startYear,
                                                                             String endYear); FacetDescription createJoinedListFacetDescription(String facetName, String propertyName, String separator); FacetDescription createAltNameFacetDescription(String facetName, String propertyName); FacetDescription createCharterFondsFacetDescription(String facetName);  }