Class ProductConfigurationServiceImplTest


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

      • ProductConfigurationServiceImplTest

        public ProductConfigurationServiceImplTest()
    • Method Detail

      • setup

        public void setup()
      • testRetrieveConfiguration

        public void testRetrieveConfiguration()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRetrieveExternalConfiguration

        public void testRetrieveExternalConfiguration()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCreateConfigurationFromExternalSource

        public void testCreateConfigurationFromExternalSource()
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCreateConfigurationFromExternalSourceWithEntryAndOptions

        public void testCreateConfigurationFromExternalSourceWithEntryAndOptions()
                                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCreateConfigurationFromExternalSourceWithEntry

        public void testCreateConfigurationFromExternalSourceWithEntry()
                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetLockNotNull

        public void testGetLockNotNull()
      • testGetLockDifferrentForDifferntConfigIds

        public void testGetLockDifferrentForDifferntConfigIds()
      • testGetLockSameforSameConfigIds

        public void testGetLockSameforSameConfigIds()
      • testGetLockMapShouldNotGrowEndless

        public void testGetLockMapShouldNotGrowEndless()
      • testGetNumberOfConflictsEmptyConfig

        public void testGetNumberOfConflictsEmptyConfig()
      • testGetNumberOfConflictsWithSolvableConflicts

        public void testGetNumberOfConflictsWithSolvableConflicts()
      • testGetNumberOfConflictsWithNotConsistenCstics

        public void testGetNumberOfConflictsWithNotConsistenCstics()
      • releaseSession

        public void releaseSession()
      • releaseSession_true

        public void releaseSession_true()
      • releaseSession_false

        public void releaseSession_false()
      • hasKbForDate_noInput

        public void hasKbForDate_noInput()
      • hasKbForDate_false

        public void hasKbForDate_false()
                                throws java.text.ParseException
        Throws:
        java.text.ParseException
      • isKbVersionValid

        public void isKbVersionValid()
      • isKbForDateExists_true

        public void isKbForDateExists_true()
                                    throws java.text.ParseException
        Throws:
        java.text.ParseException
      • testRemoveConfigFromCache

        public void testRemoveConfigFromCache()
      • testCleanUpAfterEngineErrorNoConfigModel

        public void testCleanUpAfterEngineErrorNoConfigModel()
      • testExtractKbKey

        public void testExtractKbKey()
      • testCheckUpdateAllowed

        public void testCheckUpdateAllowed()
      • testCheckUpdateAllowedForbidden

        public void testCheckUpdateAllowedForbidden()
      • testRetrieveCorrectPricingDatePastDate

        public void testRetrieveCorrectPricingDatePastDate()
      • testRetrieveCorrectPricingDateNull

        public void testRetrieveCorrectPricingDateNull()
      • testIsRelatedObjectReadOnlyFalseCart

        public void testIsRelatedObjectReadOnlyFalseCart()
      • testIsRelatedObjectReadOnlyTrueSavedCart

        public void testIsRelatedObjectReadOnlyTrueSavedCart()
      • testIsRelatedObjectReadOnlyTrueOrder

        public void testIsRelatedObjectReadOnlyTrueOrder()
      • testIsRelatedObjectReadOnlyTrueQuote

        public void testIsRelatedObjectReadOnlyTrueQuote()
      • testIsRelatedObjectReadOnlyOptionsFalseCart

        public void testIsRelatedObjectReadOnlyOptionsFalseCart()
      • testIsRelatedObjectReadOnlyOptionsTrueSavedCart

        public void testIsRelatedObjectReadOnlyOptionsTrueSavedCart()
      • testRetrieveRelatedObjectTypeOptionsNull

        public void testRetrieveRelatedObjectTypeOptionsNull()
      • testRetrieveRelatedObjectTypeOptionsCart

        public void testRetrieveRelatedObjectTypeOptionsCart()
      • testRetrieveRelatedObjectTypeOptionsNotNullButType

        public void testRetrieveRelatedObjectTypeOptionsNotNullButType()
      • testCheckReleaseAllowed

        public void testCheckReleaseAllowed()
      • testCheckReleaseAllowedForbidden

        public void testCheckReleaseAllowedForbidden()
      • testCheckReadAllowed

        public void testCheckReadAllowed()
      • testCheckReadAllowedForbidden

        public void testCheckReadAllowedForbidden()
      • testAssignVariantProductPCPV

        public void testAssignVariantProductPCPV()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAssignVariantProductNotPCPV

        public void testAssignVariantProductNotPCPV()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsChangeableVariantPCPV

        public void testIsChangeableVariantPCPV()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsChangeableVariantNotPCPV

        public void testIsChangeableVariantNotPCPV()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCountNumberOfIncompleteCsticsWithoutSubinstances

        public void testCountNumberOfIncompleteCsticsWithoutSubinstances()
      • testCountNumberOfIncompleteCsticsWithSubinstances

        public void testCountNumberOfIncompleteCsticsWithSubinstances()
      • testCountNumberOfIncompleteCstics

        public void testCountNumberOfIncompleteCstics()
      • createCstics

        protected java.util.List<CsticModel> createCstics​(int size)