Class MerchSnProductFacetPopulatorTest
java.lang.Object
com.hybris.merchandising.converters.populators.AbstractMerchSnPopulatorTest
com.hybris.merchandising.converters.populators.MerchSnProductFacetPopulatorTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Stringprotected SnTermBucketResponseprotected SnTermBucketResponseprotected SnTermBucketsFacetRequestprotected SnTermBucketsFacetResponseprotected static Stringprotected static Stringprotected static Stringprotected MerchSnProductFacetPopulatorprotected static Stringprotected static Stringprotected static Stringprotected static Stringprotected static Stringprotected static Stringprotected static Stringprotected SnRangeBucketRequestprotected SnRangeBucketRequestprotected SnRangeBucketRequestprotected SnRangeBucketResponseprotected SnRangeBucketResponseprotected SnRangeBucketResponseprotected SnRangeBucketsFacetRequestprotected SnRangeBucketsFacetResponseprotected static Stringprotected SnTermBucketsFacetRequestprotected SnTermBucketsFacetResponseprotected SnTermBucketResponseFields inherited from class com.hybris.merchandising.converters.populators.AbstractMerchSnPopulatorTest
BASE_PRODUCT, CATEGORIES_FIELD, CATEGORY_NAMES, CODE_FIELD, currencyModel, DE, DEFAULT_CURRENCY_ISO, DEFAULT_LANGUAGE_ISO, DESCRIPTION_FIELD, EN, IMG515_FIELD, IMG65_FIELD, indexerContext, languageModel, merchConfig, merchContext, merchPropertiesMapping, NAME_FIELD, PRICE_FIELD, PRICE_MAP_VALUE, PRICE_VALUE, productDetailsFields, snDocument, source, STOCK_LEVEL_STATUS, STOCK_LEVEL_VALUE, SUMMARY_FIELD, target, URL_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SnRangeBucketRequestcreateRangeBucketRequest(String id, Object from, Object to) protected SnRangeBucketResponsecreateRangeBucketResponse(String id, String name) protected SnTermBucketResponsecreateTermBucketResponse(String id, String name) protected ProductFacetfindFacet(String facetId, List<ProductFacet> facets) voidsetUp()voidvoidprotected voidverifyCategoryFacet(List<ProductFacet> productFacets) protected voidverifyPriceFacet(List<ProductFacet> productFacets) protected voidverifyStatusLevelFacet(List<ProductFacet> productFacets)
-
Field Details
-
EN_CATEGORY_NAME_1
-
EN_CATEGORY_BUCKET_NAME_1
-
EN_CATEGORY_NAME_2
-
PRICE_FACET_NAME
-
CATEGORY_FACET_NAME
-
PRICE_BUCKET_ID_1
-
PRICE_BUCKET_NAME_1
-
PRICE_BUCKET_ID_2
-
PRICE_BUCKET_NAME_2
-
PRICE_BUCKET_ID_3
-
PRICE_BUCKET_NAME_3
-
STOCK_LEVEL_BUCKET_NAME
-
priceFacetResponse
-
stockFacetResponse
-
categoryFacetResponse
-
priceFacetRequest
-
stockFacetRequest
-
categoryFacetRequest
-
priceBucketRequest1
-
priceBucketRequest2
-
priceBucketRequest3
-
priceBucketResponse1
-
priceBucketResponse2
-
priceBucketResponse3
-
stockLevelBucketResponse
-
categoryBucketResponse1
-
categoryBucketResponse2
-
populator
-
-
Constructor Details
-
MerchSnProductFacetPopulatorTest
public MerchSnProductFacetPopulatorTest()
-
-
Method Details
-
setUp
public void setUp()- Overrides:
setUpin classAbstractMerchSnPopulatorTest
-
testPopulate
public void testPopulate() -
testPopulateWhenNoValues
public void testPopulateWhenNoValues() -
verifyPriceFacet
-
verifyStatusLevelFacet
-
verifyCategoryFacet
-
findFacet
-
createRangeBucketRequest
-
createRangeBucketResponse
-
createTermBucketResponse
-