Package de.hybris.platform.util
Class StrandedItemsRegistryTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.util.StrandedItemsRegistryTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class StrandedItemsRegistryTest extends ServicelayerBaseTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStrandedItemsRegistryTest.TestStrandedItemsResolutionHandler
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description StrandedItemsRegistryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldMarkFilteredOutItemsAsChecked()voidshouldMarkItemOnLogicException()voidshouldMarkItemWithPassedPk()voidshouldNotFailWithEmptyRegistry()voidshouldNotMarkItemOnValidLogicExecution()voidshouldPassRegisteredItemsToHandler()voidshouldPassRegisteredItemsToHandlerSmallMaxCount()voidshouldPassRegisteredItemsToHandlerWithMaxCountIsZero()voidshouldPassRegisteredItemsToHandlerWithNegativeMaxCount()voidshouldRetryToResolveNotResolvedItems()voidshouldRetryToResolveNotResolvedItemsBecauseExceptionHasBeenThrown()voidshouldRetryToResolveNotResolvedItemsBecauseExceptionOnFilteringHasBeenThrown()voidshouldReturnProvidedStrandedItemContext()voidshouldReturnProvidedStrandedItemContextEvenWhenLaterThereIsNoContext()voidshouldThrowExceptionOnNullHandler()voidshouldThrowExceptionOnNullItem()voidshouldThrowExceptionOnNullLogic()voidshouldThrowExceptionOnNullPk()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowExceptionOnNullHandler
public void shouldThrowExceptionOnNullHandler()
-
shouldThrowExceptionOnNullPk
public void shouldThrowExceptionOnNullPk()
-
shouldThrowExceptionOnNullItem
public void shouldThrowExceptionOnNullItem()
-
shouldThrowExceptionOnNullLogic
public void shouldThrowExceptionOnNullLogic()
-
shouldNotFailWithEmptyRegistry
public void shouldNotFailWithEmptyRegistry()
-
shouldNotMarkItemOnValidLogicExecution
public void shouldNotMarkItemOnValidLogicExecution()
-
shouldMarkItemOnLogicException
public void shouldMarkItemOnLogicException()
-
shouldMarkItemWithPassedPk
public void shouldMarkItemWithPassedPk()
-
shouldPassRegisteredItemsToHandler
public void shouldPassRegisteredItemsToHandler()
-
shouldPassRegisteredItemsToHandlerWithNegativeMaxCount
public void shouldPassRegisteredItemsToHandlerWithNegativeMaxCount()
-
shouldPassRegisteredItemsToHandlerWithMaxCountIsZero
public void shouldPassRegisteredItemsToHandlerWithMaxCountIsZero()
-
shouldMarkFilteredOutItemsAsChecked
public void shouldMarkFilteredOutItemsAsChecked()
-
shouldPassRegisteredItemsToHandlerSmallMaxCount
public void shouldPassRegisteredItemsToHandlerSmallMaxCount()
-
shouldRetryToResolveNotResolvedItems
public void shouldRetryToResolveNotResolvedItems()
-
shouldRetryToResolveNotResolvedItemsBecauseExceptionHasBeenThrown
public void shouldRetryToResolveNotResolvedItemsBecauseExceptionHasBeenThrown()
-
shouldRetryToResolveNotResolvedItemsBecauseExceptionOnFilteringHasBeenThrown
public void shouldRetryToResolveNotResolvedItemsBecauseExceptionOnFilteringHasBeenThrown()
-
shouldReturnProvidedStrandedItemContext
public void shouldReturnProvidedStrandedItemContext()
-
shouldReturnProvidedStrandedItemContextEvenWhenLaterThereIsNoContext
public void shouldReturnProvidedStrandedItemContextEvenWhenLaterThereIsNoContext()
-
-