Class ProductConfigurationRuleAwareServiceImplTest
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.rules.service.impl.ProductConfigurationRuleAwareServiceImplTest
-
@UnitTest public class ProductConfigurationRuleAwareServiceImplTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProductConfigurationRuleAwareServiceImplTest()
-
Method Summary
-
-
-
Method Detail
-
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, java.lang.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
-
-