Class ConfigurationFacadeImplTest

java.lang.Object
de.hybris.platform.sap.productconfig.facades.impl.ConfigurationFacadeImplTest

@UnitTest public class ConfigurationFacadeImplTest extends Object
  • Field Details

  • Constructor Details

    • ConfigurationFacadeImplTest

      public ConfigurationFacadeImplTest()
  • Method Details

    • setup

      public void setup()
    • testRetrieveRelatedInstanceModelForNullGroup

      public void testRetrieveRelatedInstanceModelForNullGroup() throws Exception
      Throws:
      Exception
    • testGetConfiguration

      public void testGetConfiguration() throws Exception
      Throws:
      Exception
    • testGetConfigurationWithForceResetFlagFalse

      public void testGetConfigurationWithForceResetFlagFalse() throws Exception
      Throws:
      Exception
    • testGetConfigurationWithForceResetFlagTrue

      public void testGetConfigurationWithForceResetFlagTrue() throws Exception
      Throws:
      Exception
    • testGetConfigurationWithForceResetFlagTrueAndProductLinkAvailable

      public void testGetConfigurationWithForceResetFlagTrueAndProductLinkAvailable() throws Exception
      Throws:
      Exception
    • testGetConfigurationWithForceResetFlagTrueAndProductLinkAvailableAndForceResetDisabled

      public void testGetConfigurationWithForceResetFlagTrueAndProductLinkAvailableAndForceResetDisabled() throws Exception
      Throws:
      Exception
    • testGetConfigurationPopulatesKbKey

      public void testGetConfigurationPopulatesKbKey() throws Exception
      Throws:
      Exception
    • testGetConfigurationCreatesNewKbKey

      public void testGetConfigurationCreatesNewKbKey() throws Exception
      Throws:
      Exception
    • testPopulateKbBuildNumber

      public void testPopulateKbBuildNumber()
    • testGetConfigurationProductLinkAvailable

      public void testGetConfigurationProductLinkAvailable() throws Exception
      Throws:
      Exception
    • testGetConfigurationCreatesProductLink

      public void testGetConfigurationCreatesProductLink() throws Exception
      Throws:
      Exception
    • testGetConfigurationProductAndCartLinkAvailable

      public void testGetConfigurationProductAndCartLinkAvailable() throws Exception
      Throws:
      Exception
    • testUpdateConfiguration

      public void testUpdateConfiguration() throws Exception
      Throws:
      Exception
    • testUpdateConfigurationInvalidGroupType

      public void testUpdateConfigurationInvalidGroupType()
    • testShowLegendInConfiguration

      public void testShowLegendInConfiguration() throws Exception
      Throws:
      Exception
    • testShowLegendInConfigurationWithSubInstances

      public void testShowLegendInConfigurationWithSubInstances() throws Exception
      Throws:
      Exception
    • testNotShowLegendInConfigurationWithSubInstances

      public void testNotShowLegendInConfigurationWithSubInstances() throws Exception
      Throws:
      Exception
    • setCsticsNotRequired

      protected void setCsticsNotRequired(List<CsticModel> cstics)
    • testNotShowLegendInConfiguration

      public void testNotShowLegendInConfiguration() throws Exception
      Throws:
      Exception
    • testGroups

      public void testGroups() throws Exception
      Throws:
      Exception
    • testEmptyGroups

      public void testEmptyGroups() throws Exception
      Throws:
      Exception
    • testEmptyInstance

      public void testEmptyInstance() throws Exception
      Throws:
      Exception
    • testGroupWithNotVisibleCstics

      public void testGroupWithNotVisibleCstics() throws Exception
      Throws:
      Exception
    • testGroupAndEmptySubInstance

      public void testGroupAndEmptySubInstance() throws Exception
      Throws:
      Exception
    • testGroupsAndSubInstanceHierarhy

      public void testGroupsAndSubInstanceHierarhy() throws Exception
      Throws:
      Exception
    • testTypeGroupOrTypeInstace

      public void testTypeGroupOrTypeInstace() throws Exception
      Throws:
      Exception
    • testNonConfigurableInstance

      public void testNonConfigurableInstance() throws Exception
      Throws:
      Exception
    • testOneConfigurableSubGroup_noSubGroups

      public void testOneConfigurableSubGroup_noSubGroups() throws Exception
      Throws:
      Exception
    • testOneConfigurableSubGroup_onlyOne

      public void testOneConfigurableSubGroup_onlyOne() throws Exception
      Throws:
      Exception
    • testOneConfigurableSubGroup_MoreThenOne

      public void testOneConfigurableSubGroup_MoreThenOne() throws Exception
      Throws:
      Exception
    • testUpdateUiGroups2

      public void testUpdateUiGroups2()
    • testUpdateMultiLevelConfiguration

      public void testUpdateMultiLevelConfiguration() throws Exception
      Throws:
      Exception
    • testPrevNextFlagsOnGroupsSingleLevel

      public void testPrevNextFlagsOnGroupsSingleLevel() throws Exception
      Throws:
      Exception
    • testPrevNextFlagsOnGroupsMultiLevel

      public void testPrevNextFlagsOnGroupsMultiLevel() throws Exception
      Throws:
      Exception
    • testPrevNextFlagsOnlyOneGroup

      public void testPrevNextFlagsOnlyOneGroup() throws Exception
      Throws:
      Exception
    • testGetSubInstanceFindRoot

      public void testGetSubInstanceFindRoot()
    • testGetSubInstanceDontFindRoot

      public void testGetSubInstanceDontFindRoot()
    • testGetSubInstanceMultiLevelInstIdsNull

      public void testGetSubInstanceMultiLevelInstIdsNull()
    • testGetSubInstanceMultiLevelInstIdsNoMatch

      public void testGetSubInstanceMultiLevelInstIdsNoMatch()
    • testGetSubInstanceMultiLevelInstIdsNoMatchGrand

      public void testGetSubInstanceMultiLevelInstIdsNoMatchGrand()
    • testGetSubInstanceMultiLevelChild

      public void testGetSubInstanceMultiLevelChild()
    • testGetSubInstanceMultiLevelGrandChild1

      public void testGetSubInstanceMultiLevelGrandChild1()
    • testGetSubInstanceMultiLevelGrandChild3

      public void testGetSubInstanceMultiLevelGrandChild3()
    • testUpdateConflictGroupNoMatchingInstance

      public void testUpdateConflictGroupNoMatchingInstance()
    • testUpdateConflictGroupNullCsticList

      public void testUpdateConflictGroupNullCsticList()
    • testUpdateConflictGroupNoInstanceIdAtAll

      public void testUpdateConflictGroupNoInstanceIdAtAll()
    • testUpdateConflictGroupNoCsticAtInstance

      public void testUpdateConflictGroupNoCsticAtInstance()
    • testUpdateConflictGroup

      public void testUpdateConflictGroup()
    • testFinalizeUiGroupsNoGroups

      public void testFinalizeUiGroupsNoGroups()
    • testFinalizeUiGroupsNoGroupsFlat

      public void testFinalizeUiGroupsNoGroupsFlat()
    • testFinalizeUiGroups

      public void testFinalizeUiGroups()
    • testFinalizeUiGroups2Conflicts

      public void testFinalizeUiGroups2Conflicts()
    • testConflictGroupProcessing

      public void testConflictGroupProcessing()
    • testProductLinkStrategy

      public void testProductLinkStrategy()
    • testCreateConfiguration

      public void testCreateConfiguration()
    • testCreateConfigurationNewConfigurationFlagDisabled

      public void testCreateConfigurationNewConfigurationFlagDisabled()
    • testGetConfigurationWConfigId

      public void testGetConfigurationWConfigId()
    • testReplaceProductForNotChangeableVariantChangeble

      public void testReplaceProductForNotChangeableVariantChangeble()
    • testReplaceProductForNotChangeableVariantNotChangeble

      public void testReplaceProductForNotChangeableVariantNotChangeble()
    • testgetConfigurationWithFallbackNoException

      public void testgetConfigurationWithFallbackNoException()
    • testgetConfigurationWithFallbackException

      public void testgetConfigurationWithFallbackException()
    • testgetConfigurationWithFallback

      public void testgetConfigurationWithFallback()
    • testIsConfigurationAvailableTrue

      public void testIsConfigurationAvailableTrue()
    • testIsConfigurationAvailableFalseWithException

      public void testIsConfigurationAvailableFalseWithException()
    • testIsConfigurationAvailableFalseWithNullConfig

      public void testIsConfigurationAvailableFalseWithNullConfig()
    • testGetConfigurationFromTemplate

      public void testGetConfigurationFromTemplate()