Class TmaSolrDocumentRecurringChargeComponentPopulatorTest
java.lang.Object
de.hybris.platform.b2ctelcoservices.search.solrfacetsearch.populator.pricing.TmaSolrDocumentComponentPopPopulatorTest
de.hybris.platform.b2ctelcoservices.search.solrfacetsearch.populator.pricing.TmaSolrDocumentRecurringChargeComponentPopulatorTest
@UnitTest
public class TmaSolrDocumentRecurringChargeComponentPopulatorTest
extends TmaSolrDocumentComponentPopPopulatorTest
Default Unit Test for the
TmaSolrDocumentRecurringChargeComponentPopulator.- 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 voidassertPopFieldsArePopulatedCorrectly(TmaSolrDocumentProductOfferingPrice solrDocumentPop) protected CurrencyModelprotected TmaOneTimeProdOfferPriceChargeModelprotected TmaOneTimeProdOfferPriceChargeModelprotected BillingEventModelprotected BillingFrequencyModelprotected <T extends TmaProductOfferingPriceModel>
voidsetLocaleOnModel(T popModel) voidsetUp()voidvoidMethods inherited from class de.hybris.platform.b2ctelcoservices.search.solrfacetsearch.populator.pricing.TmaSolrDocumentComponentPopPopulatorTest
assertComponentPopFieldsArePopulatedCorrectly, getOtcPop, testPopulateSolrDocumentPopFromOneTimeChargeSource, testPopulateSolrDocumentPopFromOneTimeChargeSourceWithNoPriceEvent, testPopulateSolrDocumentPopFromOneTimeChargeSourceWithPriceEvent
-
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
-
TmaSolrDocumentRecurringChargeComponentPopulatorTest
public TmaSolrDocumentRecurringChargeComponentPopulatorTest()
-
-
Method Details
-
setUp
public void setUp()- Overrides:
setUpin classTmaSolrDocumentComponentPopPopulatorTest
-
testPopulateSolrDocumentPopFromRecurringChargeSourceWithNoCycleEnd
public void testPopulateSolrDocumentPopFromRecurringChargeSourceWithNoCycleEnd() -
testPopulateSolrDocumentPopFromRecurringChargeSourceWithCycleEnd
public void testPopulateSolrDocumentPopFromRecurringChargeSourceWithCycleEnd() -
assertPopFieldsArePopulatedCorrectly
protected void assertPopFieldsArePopulatedCorrectly(TmaSolrDocumentProductOfferingPrice solrDocumentPop) -
getOtcPopWithoutPriceEvent
-
setLocaleOnModel
-
getOtcPopWithPriceEvent
-
getPriceFrequency
-
getPriceEvent
-
getCurrency
-