Class ProductConfigurationRuleAwareServiceImplTest

java.lang.Object
de.hybris.platform.sap.productconfig.rules.service.impl.ProductConfigurationRuleAwareServiceImplTest

@UnitTest public class ProductConfigurationRuleAwareServiceImplTest extends Object
  • Constructor Details

    • ProductConfigurationRuleAwareServiceImplTest

      public ProductConfigurationRuleAwareServiceImplTest()
  • Method Details

    • setUp

      public void setUp()
    • testProvideRAOsWithNullFactContext

      public void testProvideRAOsWithNullFactContext()
    • testProvideRAOsWithNotNullFactContext

      public void testProvideRAOsWithNotNullFactContext()
    • testPrepareRuleEvaluationContext

      public void testPrepareRuleEvaluationContext()
    • testAdjustConfigurationRuleBasedFalseWhenRulesAreDeactivated

      public void testAdjustConfigurationRuleBasedFalseWhenRulesAreDeactivated()
    • testDetermineRuleEngineContextNotAvailable

      public void testDetermineRuleEngineContextNotAvailable()
    • testDetermineRuleEngineContextDefaultEngineContextNameAvailable

      public void testDetermineRuleEngineContextDefaultEngineContextNameAvailable()
    • testDetermineRuleEngineContextDefaultEngineContextCanBeDetermined

      public void testDetermineRuleEngineContextDefaultEngineContextCanBeDetermined()
    • testDetermineRuleEngineContextDefaultEngineContextCanBeDeterminedReturnsNull

      public void testDetermineRuleEngineContextDefaultEngineContextCanBeDeterminedReturnsNull()
    • createConfigModel

      protected ConfigModel createConfigModel()
    • testApplyRulesEmptyResult

      public void testApplyRulesEmptyResult()
    • testApplyRulesSetDefaultValue

      public void testApplyRulesSetDefaultValue()
    • testApplyRulesChangeDefaultValue

      public void testApplyRulesChangeDefaultValue()
    • testApplyRulesTryToSetNonAssignableValue

      public void testApplyRulesTryToSetNonAssignableValue()
    • testApplyRulesTryToSetValueForReadOnlyCstic

      public void testApplyRulesTryToSetValueForReadOnlyCstic()
    • testApplyRulesTryToSetValueUnconstrainedCstic

      public void testApplyRulesTryToSetValueUnconstrainedCstic()
    • testApplyRulesTryToSetNonExistingCstic

      public void testApplyRulesTryToSetNonExistingCstic()
    • testApplyRulesAddMultiValue

      public void testApplyRulesAddMultiValue()
    • testApplyRulesOtherActionRAO

      public void testApplyRulesOtherActionRAO()
    • testApplyRulesAddExistingMultiValue

      public void testApplyRulesAddExistingMultiValue()
    • testApplyRulesRemoveAssignableValue

      public void testApplyRulesRemoveAssignableValue()
    • testGetRuleActionStrategy

      public void testGetRuleActionStrategy()
    • testGetRuleActionStrategyEmptyMap

      public void testGetRuleActionStrategyEmptyMap()
    • testGetRuleActionStrategyWrongStrategy

      public void testGetRuleActionStrategyWrongStrategy()
    • testRemoveMessageBeforeNextStep_true

      public void testRemoveMessageBeforeNextStep_true()
    • testRemoveMessageBeforeNextStep_wrongSubType

      public void testRemoveMessageBeforeNextStep_wrongSubType()
    • testRemoveMessageBeforeNextStep_wrongStep

      public void testRemoveMessageBeforeNextStep_wrongStep()
    • createMessage

      protected ProductConfigMessage createMessage(ProductConfigMessageSourceSubType mesgSubType, String key)
    • testRemoveMessagesRecomputedOnNextStep

      public void testRemoveMessagesRecomputedOnNextStep()
    • testAfterConfigCreated_cacheOnce

      public void testAfterConfigCreated_cacheOnce()
    • testAfterConfigCreated_cacheTwice

      public void testAfterConfigCreated_cacheTwice()
    • testAfterDefaultConfigCreated_cacheTwice

      public void testAfterDefaultConfigCreated_cacheTwice()
    • testAfterDefaultConfigCreated_cacheOnceOnMethodLevel

      public void testAfterDefaultConfigCreated_cacheOnceOnMethodLevel()
    • testTransferVariantConditions

      public void testTransferVariantConditions()
    • testProvideConfigurationModelNoRuleEngine

      public void testProvideConfigurationModelNoRuleEngine() throws ConfigurationEngineException
      Throws:
      ConfigurationEngineException
    • testAdjustVariantConditionsUsingOptions

      public void testAdjustVariantConditionsUsingOptions() throws ConfigurationEngineException
      Throws:
      ConfigurationEngineException
    • testAdjustVariantConditionsUsingOptionsCurrentPriceDate

      public void testAdjustVariantConditionsUsingOptionsCurrentPriceDate() throws ConfigurationEngineException
      Throws:
      ConfigurationEngineException
    • testSessionService

      public void testSessionService()
    • testIsStatefulCall

      public void testIsStatefulCall()
    • testIsStatefulCallUnknownSessionAttribute

      public void testIsStatefulCallUnknownSessionAttribute()
    • testIsStatefulCallStateless

      public void testIsStatefulCallStateless()
    • testGetRelatedCartInStatefulScenario

      public void testGetRelatedCartInStatefulScenario()
    • testGetRelatedCartSessionIndicatesStateless

      public void testGetRelatedCartSessionIndicatesStateless()
    • tesGetRelatedCartStatelessWrongLink

      public void tesGetRelatedCartStatelessWrongLink()
    • tesGetRelatedCartStatelessNoLink

      public void tesGetRelatedCartStatelessNoLink()
    • testGetRelatedStateful

      public void testGetRelatedStateful()
    • testGetRelatedStatefulNoSessionCart

      public void testGetRelatedStatefulNoSessionCart()
    • testUserService

      public void testUserService()
    • testCreateEmptyCart

      public void testCreateEmptyCart()
    • testTryLockSuccess

      public void testTryLockSuccess() throws InterruptedException
      Throws:
      InterruptedException
    • testTryLockFails

      public void testTryLockFails() throws InterruptedException
      Throws:
      InterruptedException
    • testTryInterupped

      public void testTryInterupped() throws InterruptedException
      Throws:
      InterruptedException
    • prepareLockTest

      protected void prepareLockTest()
    • testAdjustConfigurationModelConfiguration

      public void testAdjustConfigurationModelConfiguration()
    • testAdjustConfigurationModelOverview

      public void testAdjustConfigurationModelOverview()
    • testRetrieveConfigurationModel

      public void testRetrieveConfigurationModel() throws ConfigurationEngineException
      Throws:
      ConfigurationEngineException
    • testRetrieveConfigurationOverview

      public void testRetrieveConfigurationOverview() throws ConfigurationEngineException
      Throws:
      ConfigurationEngineException