Class DefaultConfigurationFindPriceHookTest

java.lang.Object
de.hybris.platform.cpq.productconfig.services.hooks.DefaultConfigurationFindPriceHookTest

@UnitTest public class DefaultConfigurationFindPriceHookTest extends Object
  • Constructor Details

    • DefaultConfigurationFindPriceHookTest

      public DefaultConfigurationFindPriceHookTest()
  • Method Details

    • initialize

      public void initialize() throws de.hybris.platform.order.exceptions.CalculationException
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • testIsApplicable

      public void testIsApplicable()
    • testIsApplicableNoProductInfo

      public void testIsApplicableNoProductInfo()
    • testIsApplicableEmptyList

      public void testIsApplicableEmptyList()
    • testIsApplicableWrongConfiguratorType

      public void testIsApplicableWrongConfiguratorType()
    • testIsApplicableNoConfigIdAvailable

      public void testIsApplicableNoConfigIdAvailable()
    • testIsApplicableMoreThanOneProductInfo

      public void testIsApplicableMoreThanOneProductInfo()
    • testFindBasePrice

      public void testFindBasePrice() throws de.hybris.platform.order.exceptions.CalculationException
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • testFindBasePriceReturnDefaultWhenNull

      public void testFindBasePriceReturnDefaultWhenNull() throws de.hybris.platform.order.exceptions.CalculationException
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • testFindBasePriceFromProductInfoNoProductInfo

      public void testFindBasePriceFromProductInfoNoProductInfo() throws de.hybris.platform.order.exceptions.CalculationException
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • testFindBasePriceFromProductInfoEmptyList

      public void testFindBasePriceFromProductInfoEmptyList() throws de.hybris.platform.order.exceptions.CalculationException
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • testFindBasePriceFromProductInfoMoreThanOneProductInfo

      public void testFindBasePriceFromProductInfoMoreThanOneProductInfo() throws de.hybris.platform.order.exceptions.CalculationException
      Throws:
      de.hybris.platform.order.exceptions.CalculationException
    • testConfigurationService

      public void testConfigurationService()