Class TmaAbstractOrderCompositePriceDataPopulatorIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.b2ctelcofacades.converters.populator.TmaAbstractOrderCompositePriceDataPopulatorIntegrationTest
- All Implemented Interfaces:
de.hybris.platform.testframework.JaloSessionHolder
@IntegrationTest
public class TmaAbstractOrderCompositePriceDataPopulatorIntegrationTest
extends de.hybris.platform.servicelayer.ServicelayerTest
Test suite for
TmaAbstractOrderPriceDataPopulator- Since:
- 1907
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertChildPrices(TmaAbstractOrderCompositePriceModel source, TmaAbstractOrderCompositePriceData target) protected voidassertEqualBillingTimeAttributes(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) protected voidassertEqualCycleEnd(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) protected voidassertEqualCycleStart(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) protected voidassertEqualDutyFreeAmount(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) protected voidassertEqualTaxIncludedAmount(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) protected voidassertEqualTaxRateAmount(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) protected voidassertEqualTierEnd(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) protected voidassertEqualTierStart(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) protected voidassertEqualUsageChargeType(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) protected voidassertEqualUsageUnit(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) protected TmaAbstractOrderCompositePriceModelcreateCompositePriceWithChildren(TmaAbstractOrderPriceModel... childPrices) protected TmaAbstractOrderOneTimeChargePriceModelcreateOneTimeChargePrice(double dutyFreeAmount, double taxIncludedAmount, double taxRate) createRecurringChargePrice(double dutyFreeAmount, double taxIncludedAmount, double taxRate, int cycleStart) createRecurringChargePrice(double dutyFreeAmount, double taxIncludedAmount, double taxRate, int cycleStart, int cycleEnd) protected BillingTimeModelprotected UsageUnitModelprotected TmaAbstractOrderUsageChargePriceModelcreateUsageChargePrice(double dutyFreeAmount, double taxIncludedAmount, double taxRate, int tierStart, int tierEnd) protected TmaAbstractOrderCompositePriceDataPopulator<TmaAbstractOrderCompositePriceModel,TmaAbstractOrderCompositePriceData> protected voidsetGenericValues(TmaAbstractOrderChargePriceModel priceModel, double dutyFreeAmount, double taxIncludedAmount, double taxRate) voidsetTmaAbstractOrderCompositePriceDataPopulator(TmaAbstractOrderCompositePriceDataPopulator<TmaAbstractOrderCompositePriceModel, TmaAbstractOrderCompositePriceData> tmaAbstractOrderCompositePriceDataPopulator) voidsetUp()voidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
TmaAbstractOrderCompositePriceDataPopulatorIntegrationTest
public TmaAbstractOrderCompositePriceDataPopulatorIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testPopulateCompositeWithOTCChildPrice
public void testPopulateCompositeWithOTCChildPrice() -
testPopulateCompositeWithTwoOTCChildPrices
public void testPopulateCompositeWithTwoOTCChildPrices() -
testPopulateCompositeWithOTCAndRcChildPrices
public void testPopulateCompositeWithOTCAndRcChildPrices() -
testPopulateCompositeWithRecurringChargeChildPrices
public void testPopulateCompositeWithRecurringChargeChildPrices() -
testPopulateCompositeWithOTCRCAndUCChildPrices
public void testPopulateCompositeWithOTCRCAndUCChildPrices() -
assertChildPrices
protected void assertChildPrices(TmaAbstractOrderCompositePriceModel source, TmaAbstractOrderCompositePriceData target) -
assertEqualDutyFreeAmount
protected void assertEqualDutyFreeAmount(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) -
assertEqualTaxIncludedAmount
protected void assertEqualTaxIncludedAmount(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) -
assertEqualTaxRateAmount
protected void assertEqualTaxRateAmount(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) -
assertEqualBillingTimeAttributes
protected void assertEqualBillingTimeAttributes(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) -
assertEqualCycleStart
protected void assertEqualCycleStart(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) -
assertEqualCycleEnd
protected void assertEqualCycleEnd(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) -
assertEqualTierStart
protected void assertEqualTierStart(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) -
assertEqualTierEnd
protected void assertEqualTierEnd(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) -
assertEqualUsageUnit
protected void assertEqualUsageUnit(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) -
assertEqualUsageChargeType
protected void assertEqualUsageChargeType(TmaAbstractOrderPriceModel priceModel, TmaAbstractOrderPriceData priceData) -
createCompositePriceWithChildren
protected TmaAbstractOrderCompositePriceModel createCompositePriceWithChildren(TmaAbstractOrderPriceModel... childPrices) -
createOneTimeChargePrice
protected TmaAbstractOrderOneTimeChargePriceModel createOneTimeChargePrice(double dutyFreeAmount, double taxIncludedAmount, double taxRate) -
createRecurringChargePrice
protected TmaAbstractOrderRecurringChargePriceModel createRecurringChargePrice(double dutyFreeAmount, double taxIncludedAmount, double taxRate, int cycleStart) -
createRecurringChargePrice
protected TmaAbstractOrderRecurringChargePriceModel createRecurringChargePrice(double dutyFreeAmount, double taxIncludedAmount, double taxRate, int cycleStart, int cycleEnd) -
createUsageChargePrice
protected TmaAbstractOrderUsageChargePriceModel createUsageChargePrice(double dutyFreeAmount, double taxIncludedAmount, double taxRate, int tierStart, int tierEnd) -
setGenericValues
protected void setGenericValues(TmaAbstractOrderChargePriceModel priceModel, double dutyFreeAmount, double taxIncludedAmount, double taxRate) -
createSampleBillingTimeModel
-
createSampleUsageUnitModel
-
getTmaAbstractOrderCompositePriceDataPopulator
protected TmaAbstractOrderCompositePriceDataPopulator<TmaAbstractOrderCompositePriceModel,TmaAbstractOrderCompositePriceData> getTmaAbstractOrderCompositePriceDataPopulator() -
setTmaAbstractOrderCompositePriceDataPopulator
public void setTmaAbstractOrderCompositePriceDataPopulator(TmaAbstractOrderCompositePriceDataPopulator<TmaAbstractOrderCompositePriceModel, TmaAbstractOrderCompositePriceData> tmaAbstractOrderCompositePriceDataPopulator)
-