Class CPSPricingProviderTest

java.lang.Object
de.hybris.platform.sap.productconfig.runtime.cps.impl.CPSPricingProviderTest

@UnitTest public class CPSPricingProviderTest extends Object
Unit test for CPSPricingProvider
  • Constructor Details

    • CPSPricingProviderTest

      public CPSPricingProviderTest()
  • Method Details

    • setup

      public void setup() throws de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException, de.hybris.platform.sap.productconfig.runtime.interf.ConfigurationEngineException
      Throws:
      de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
      de.hybris.platform.sap.productconfig.runtime.interf.ConfigurationEngineException
    • testGetPriceSummaryNotNull

      public void testGetPriceSummaryNotNull() throws de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException, de.hybris.platform.sap.productconfig.runtime.interf.ConfigurationEngineException
      Throws:
      de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
      de.hybris.platform.sap.productconfig.runtime.interf.ConfigurationEngineException
    • testFillValuePrices_updateModels_kbid

      public void testFillValuePrices_updateModels_kbid() throws de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
      Throws:
      de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
    • testFillValuePrices_updateModels_kbid_prefetches

      public void testFillValuePrices_updateModels_kbid_prefetches() throws de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
      Throws:
      de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
    • testProviderIsActive

      public void testProviderIsActive()
    • testFillValuePrices

      public void testFillValuePrices() throws de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
      Throws:
      de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
    • testFillValuePricesPrefetches

      public void testFillValuePricesPrefetches() throws de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
      Throws:
      de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
    • testPrepareMasterDataContext

      public void testPrepareMasterDataContext()
    • testPrepareMasterDataContextWithPricingProduct

      public void testPrepareMasterDataContextWithPricingProduct()
    • testPrepareMasterDataContextNullOptions

      public void testPrepareMasterDataContextNullOptions()
    • testPrepareMasterDataContextNullList

      public void testPrepareMasterDataContextNullList()
    • createAndFillConfigModelSingleLevel

      protected de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel createAndFillConfigModelSingleLevel()
    • createCsticModel

      protected de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel createCsticModel(String cstic)
    • testFillValuePrices_Instance_SingleLevel

      public void testFillValuePrices_Instance_SingleLevel() throws de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
      Throws:
      de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
    • testFillValuePrices_SingleLevel

      public void testFillValuePrices_SingleLevel() throws de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
      Throws:
      de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
    • createAndFillConfigModelMultiLevel

      protected de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel createAndFillConfigModelMultiLevel()
    • testFillValuePrices_Instance_MultiLevel

      public void testFillValuePrices_Instance_MultiLevel() throws de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
      Throws:
      de.hybris.platform.sap.productconfig.runtime.interf.PricingEngineException
    • testCreateUpdateModelListEmptyRootInstance

      public void testCreateUpdateModelListEmptyRootInstance()
    • testCreateUpdateModelListSingleLevel

      public void testCreateUpdateModelListSingleLevel()
    • testCreateUpdateModelListMultiLevel

      public void testCreateUpdateModelListMultiLevel()