Class ConfigurationFacadeImplTest


  • @UnitTest
    public class ConfigurationFacadeImplTest
    extends java.lang.Object
    • Constructor Detail

      • ConfigurationFacadeImplTest

        public ConfigurationFacadeImplTest()
    • Method Detail

      • setup

        public void setup()
      • testRetrieveRelatedInstanceModelForNullGroup

        public void testRetrieveRelatedInstanceModelForNullGroup()
                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetConfiguration

        public void testGetConfiguration()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetConfigurationPopulatesKbKey

        public void testGetConfigurationPopulatesKbKey()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetConfigurationCreatesNewKbKey

        public void testGetConfigurationCreatesNewKbKey()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPopulateKbBuildNumber

        public void testPopulateKbBuildNumber()
      • testGetConfigurationProductLinkAvailable

        public void testGetConfigurationProductLinkAvailable()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetConfigurationCreatesProductLink

        public void testGetConfigurationCreatesProductLink()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetConfigurationProductAndCartLinkAvailable

        public void testGetConfigurationProductAndCartLinkAvailable()
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUpdateConfiguration

        public void testUpdateConfiguration()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUpdateConfigurationInvalidGroupType

        public void testUpdateConfigurationInvalidGroupType()
      • testShowLegendInConfiguration

        public void testShowLegendInConfiguration()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testShowLegendInConfigurationWithSubInstances

        public void testShowLegendInConfigurationWithSubInstances()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNotShowLegendInConfigurationWithSubInstances

        public void testNotShowLegendInConfigurationWithSubInstances()
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setCsticsNotRequired

        protected void setCsticsNotRequired​(java.util.List<CsticModel> cstics)
      • testNotShowLegendInConfiguration

        public void testNotShowLegendInConfiguration()
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGroups

        public void testGroups()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmptyGroups

        public void testEmptyGroups()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmptyInstance

        public void testEmptyInstance()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGroupWithNotVisibleCstics

        public void testGroupWithNotVisibleCstics()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGroupAndEmptySubInstance

        public void testGroupAndEmptySubInstance()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGroupsAndSubInstanceHierarhy

        public void testGroupsAndSubInstanceHierarhy()
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTypeGroupOrTypeInstace

        public void testTypeGroupOrTypeInstace()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNonConfigurableInstance

        public void testNonConfigurableInstance()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testOneConfigurableSubGroup_noSubGroups

        public void testOneConfigurableSubGroup_noSubGroups()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testOneConfigurableSubGroup_onlyOne

        public void testOneConfigurableSubGroup_onlyOne()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testOneConfigurableSubGroup_MoreThenOne

        public void testOneConfigurableSubGroup_MoreThenOne()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUpdateUiGroups2

        public void testUpdateUiGroups2()
      • testUpdateMultiLevelConfiguration

        public void testUpdateMultiLevelConfiguration()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPrevNextFlagsOnGroupsSingleLevel

        public void testPrevNextFlagsOnGroupsSingleLevel()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPrevNextFlagsOnGroupsMultiLevel

        public void testPrevNextFlagsOnGroupsMultiLevel()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPrevNextFlagsOnlyOneGroup

        public void testPrevNextFlagsOnlyOneGroup()
                                           throws java.lang.Exception
        Throws:
        java.lang.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()
      • 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()