Class CPSPricingProviderTest
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.cps.impl.CPSPricingProviderTest
-
@UnitTest public class CPSPricingProviderTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CPSPricingProviderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckValuePrices(CsticModel csticModel)protected ConfigModelcreateAndFillConfigModelMultiLevel()protected ConfigModelcreateAndFillConfigModelSingleLevel()protected CsticModelcreateCsticModel(java.lang.String cstic)protected org.mockito.ArgumentMatcher<MasterDataContext>matchContextContainingSameKbContainer()voidsetup()voidtestFillValuePrices()voidtestFillValuePrices_Instance_MultiLevel()voidtestFillValuePrices_Instance_SingleLevel()voidtestFillValuePrices_SingleLevel()voidtestFillValuePrices_updateModels_kbid()voidtestGetPriceSummaryDeprecated()voidtestGetPriceSummaryNotNull()voidtestPrepareMasterDataContext()voidtestPrepareMasterDataContextNullList()voidtestPrepareMasterDataContextNullOptions()voidtestPrepareMasterDataContextWithPricingProduct()voidtestProviderIsActive()
-
-
-
Method Detail
-
setup
public void setup() throws PricingEngineException, ConfigurationEngineException
-
testGetPriceSummaryDeprecated
public void testGetPriceSummaryDeprecated() throws PricingEngineException- Throws:
PricingEngineException
-
testGetPriceSummaryNotNull
public void testGetPriceSummaryNotNull() throws PricingEngineException, ConfigurationEngineException
-
testFillValuePrices_updateModels_kbid
public void testFillValuePrices_updateModels_kbid() throws PricingEngineException- Throws:
PricingEngineException
-
testProviderIsActive
public void testProviderIsActive()
-
testFillValuePrices
public void testFillValuePrices() throws PricingEngineException- Throws:
PricingEngineException
-
testPrepareMasterDataContext
public void testPrepareMasterDataContext()
-
testPrepareMasterDataContextWithPricingProduct
public void testPrepareMasterDataContextWithPricingProduct()
-
testPrepareMasterDataContextNullOptions
public void testPrepareMasterDataContextNullOptions()
-
testPrepareMasterDataContextNullList
public void testPrepareMasterDataContextNullList()
-
checkValuePrices
protected void checkValuePrices(CsticModel csticModel)
-
createAndFillConfigModelSingleLevel
protected ConfigModel createAndFillConfigModelSingleLevel()
-
createCsticModel
protected CsticModel createCsticModel(java.lang.String cstic)
-
testFillValuePrices_Instance_SingleLevel
public void testFillValuePrices_Instance_SingleLevel() throws PricingEngineException- Throws:
PricingEngineException
-
testFillValuePrices_SingleLevel
public void testFillValuePrices_SingleLevel() throws PricingEngineException- Throws:
PricingEngineException
-
matchContextContainingSameKbContainer
protected org.mockito.ArgumentMatcher<MasterDataContext> matchContextContainingSameKbContainer()
-
createAndFillConfigModelMultiLevel
protected ConfigModel createAndFillConfigModelMultiLevel()
-
testFillValuePrices_Instance_MultiLevel
public void testFillValuePrices_Instance_MultiLevel() throws PricingEngineException- Throws:
PricingEngineException
-
-