Class DefaultItemSynchronizationFacadeTest

java.lang.Object
de.hybris.platform.cmsfacades.synchronization.impl.DefaultItemSynchronizationFacadeTest

@UnitTest public class DefaultItemSynchronizationFacadeTest extends Object
  • Constructor Details

    • DefaultItemSynchronizationFacadeTest

      public DefaultItemSynchronizationFacadeTest()
  • Method Details

    • setup

      public void setup()
    • testWhenDefaultMaxDepthIsNotGreaterThanZero

      public void testWhenDefaultMaxDepthIsNotGreaterThanZero()
    • testWhenItemCollectorRegistriesReturnEmpty_shouldNotPopulateMoreThanOneLevel

      public void testWhenItemCollectorRegistriesReturnEmpty_shouldNotPopulateMoreThanOneLevel()
    • testWhenCollectorReturnsSlots_shouldPopulateSelectedDependencies

      public void testWhenCollectorReturnsSlots_shouldPopulateSelectedDependencies()
    • testWhenCollectorReturnsSlots_shouldPopulateSharedDependencies

      public void testWhenCollectorReturnsSlots_shouldPopulateSharedDependencies()
    • testWhenCollectorReturnsParentPage_shouldPopulateUnavailableDependencies

      public void testWhenCollectorReturnsParentPage_shouldPopulateUnavailableDependencies()
    • performItemSynchronizationWithConfigWillDelegateToSyncServiceWithConfig

      public void performItemSynchronizationWithConfigWillDelegateToSyncServiceWithConfig()
    • performItemSynchronizationWithoutConfigWillDelegateToSyncServiceWithDefaultConfig

      public void performItemSynchronizationWithoutConfigWillDelegateToSyncServiceWithDefaultConfig()
    • shouldValidateRequestAndSynchronizationDataBeforeSynchronizingItems

      public void shouldValidateRequestAndSynchronizationDataBeforeSynchronizingItems()
    • shouldThrowValidationExceptionIfValidationFails

      public void shouldThrowValidationExceptionIfValidationFails() throws ValidationException
      Throws:
      ValidationException
    • testWhenDependentPageNeverSyncWillFindUnavailableDependencies

      public void testWhenDependentPageNeverSyncWillFindUnavailableDependencies()
    • testWhenDependentPageSyncedWillFindEmptyUnavailableDependencies

      public void testWhenDependentPageSyncedWillFindEmptyUnavailableDependencies()
    • shouldFailGetSynchronizationItemStatusWhenItemModelIsNotFound

      public void shouldFailGetSynchronizationItemStatusWhenItemModelIsNotFound()
    • shouldFailPerformItemSynchronizationWhenOneItemModelIsNotFound

      public void shouldFailPerformItemSynchronizationWhenOneItemModelIsNotFound()
    • mustInitSyncCache

      public void mustInitSyncCache()