Class ProcessConsignmentPreFulfillmentActionTest


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

      • ProcessConsignmentPreFulfillmentActionTest

        public ProcessConsignmentPreFulfillmentActionTest()
    • Method Detail

      • setup

        public void setup()
      • shouldTransitionToOkWhenNoPreProcessingRequired

        public void shouldTransitionToOkWhenNoPreProcessingRequired()
      • shouldTransitionToOKWhenNothingExecutedAndOnlyOneGoAheadPreFulfillmentStrategyToExecute

        public void shouldTransitionToOKWhenNothingExecutedAndOnlyOneGoAheadPreFulfillmentStrategyToExecute()
      • shouldTransitionToWaitWhenNothingExecutedAndNoGoAheadPreFulfillmentStrategyToExecute

        public void shouldTransitionToWaitWhenNothingExecutedAndNoGoAheadPreFulfillmentStrategyToExecute()
      • shouldTransitionToOkWhenOneStrategyExecutedAndOnlyOneGoAheadPreFulfillmentStrategyToExecute

        public void shouldTransitionToOkWhenOneStrategyExecutedAndOnlyOneGoAheadPreFulfillmentStrategyToExecute()
      • shouldTransitionToWaitWhenOneStrategyExecutedAndMixOfGoAheadAndNoGoAheadPreFulfillmentStrategyToExecute

        public void shouldTransitionToWaitWhenOneStrategyExecutedAndMixOfGoAheadAndNoGoAheadPreFulfillmentStrategyToExecute()
      • shouldTransitionToWaitWhenAllButLastOneNoGoAheadPreFulfillmentStrategyToExecute

        public void shouldTransitionToWaitWhenAllButLastOneNoGoAheadPreFulfillmentStrategyToExecute()
      • shouldTransitionToOkWhenAllPreFulfillmentStrategiesAlreadyBeenExecuted

        public void shouldTransitionToOkWhenAllPreFulfillmentStrategiesAlreadyBeenExecuted()
      • shouldTransitionToErrorWhenInvalidLastExecutedStrategy

        public void shouldTransitionToErrorWhenInvalidLastExecutedStrategy()
      • shouldGetNullAsLastExecutedConsignmentPreFulfillmentStrategy

        public void shouldGetNullAsLastExecutedConsignmentPreFulfillmentStrategy()
      • shouldThrowExceptionWhenInvalidLastStrategy

        public void shouldThrowExceptionWhenInvalidLastStrategy()
      • shouldSetStrategyInContextParam

        public void shouldSetStrategyInContextParam()
      • shouldCleanStrategyContextParamWhenParamPresent

        public void shouldCleanStrategyContextParamWhenParamPresent()
      • shouldCleanStrategyContextParamNoParamPresent

        public void shouldCleanStrategyContextParamNoParamPresent()