Class TmaSolrDocumentComponentPopPopulatorTest
java.lang.Object
de.hybris.platform.b2ctelcoservices.search.solrfacetsearch.populator.pricing.TmaSolrDocumentComponentPopPopulatorTest
- Direct Known Subclasses:
TmaSolrDocumentRecurringChargeComponentPopulatorTest,TmaSolrDocumentUsageChargeComponentPopulatorTest
Default Unit Test for the
TmaSolrDocumentComponentPopPopulator.- Since:
- 2007
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final intprotected static final intprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final doubleprotected final de.hybris.platform.servicelayer.internal.model.impl.LocaleProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertComponentPopFieldsArePopulatedCorrectly(TmaSolrDocumentComponentPop solrDocumentComponentPop) protected voidassertPopFieldsArePopulatedCorrectly(TmaSolrDocumentProductOfferingPrice solrDocumentPop) protected CurrencyModelprotected TmaOneTimeProdOfferPriceChargeModelprotected TmaOneTimeProdOfferPriceChargeModelprotected TmaOneTimeProdOfferPriceChargeModelprotected BillingEventModelprotected BillingFrequencyModelprotected <T extends TmaProductOfferingPriceModel>
voidsetLocaleOnModel(T popModel) voidsetUp()voidvoidvoid
-
Field Details
-
DEFAULT_ID
- See Also:
-
DEFAULT_NAME
- See Also:
-
DEFAULT_DESCRIPTION
- See Also:
-
DEFAULT_PRICE_EVENT
- See Also:
-
DEFAULT_BILLING_FREQUENCY
- See Also:
-
DEFAULT_CURRENCY_ISO_CODE
- See Also:
-
DEFAULT_PRICE_VALUE
protected static final double DEFAULT_PRICE_VALUE- See Also:
-
DEFAULT_CYCLE_START
protected static final int DEFAULT_CYCLE_START- See Also:
-
DEFAULT_CYCLE_END
protected static final int DEFAULT_CYCLE_END- See Also:
-
localeProvider
protected final de.hybris.platform.servicelayer.internal.model.impl.LocaleProvider localeProvider
-
-
Constructor Details
-
TmaSolrDocumentComponentPopPopulatorTest
public TmaSolrDocumentComponentPopPopulatorTest()
-
-
Method Details
-
setUp
public void setUp() -
testPopulateSolrDocumentPopFromOneTimeChargeSourceWithNoPriceEvent
public void testPopulateSolrDocumentPopFromOneTimeChargeSourceWithNoPriceEvent() -
testPopulateSolrDocumentPopFromOneTimeChargeSourceWithPriceEvent
public void testPopulateSolrDocumentPopFromOneTimeChargeSourceWithPriceEvent() -
testPopulateSolrDocumentPopFromOneTimeChargeSource
public void testPopulateSolrDocumentPopFromOneTimeChargeSource() -
assertComponentPopFieldsArePopulatedCorrectly
protected void assertComponentPopFieldsArePopulatedCorrectly(TmaSolrDocumentComponentPop solrDocumentComponentPop) -
getOtcPop
-
assertPopFieldsArePopulatedCorrectly
protected void assertPopFieldsArePopulatedCorrectly(TmaSolrDocumentProductOfferingPrice solrDocumentPop) -
getOtcPopWithoutPriceEvent
-
setLocaleOnModel
-
getOtcPopWithPriceEvent
-
getPriceFrequency
-
getPriceEvent
-
getCurrency
-