Class ProcessOrderCancellationActionTest

java.lang.Object
de.hybris.platform.yacceleratorordermanagement.actions.order.cancel.ProcessOrderCancellationActionTest

@UnitTest public class ProcessOrderCancellationActionTest extends Object
  • Constructor Details

    • ProcessOrderCancellationActionTest

      public ProcessOrderCancellationActionTest()
  • Method Details

    • setup

      public void setup() throws OrderCancelRecordsHandlerException
      Throws:
      OrderCancelRecordsHandlerException
    • shouldWaitWhenQuantityPendingIsMoreThanZero

      public void shouldWaitWhenQuantityPendingIsMoreThanZero() throws Exception
      Throws:
      Exception
    • shouldOKWhenQuantityPendingIsZero

      public void shouldOKWhenQuantityPendingIsZero() throws Exception
      Throws:
      Exception
    • shouldSourcingWhenQuantityUnAllocatedIsMoreThanZeroAndOrderNotOnHold

      public void shouldSourcingWhenQuantityUnAllocatedIsMoreThanZeroAndOrderNotOnHold() throws Exception
      Throws:
      Exception
    • shouldWaitWhenQuantityUnAllocatedIsMoreThanZeroAndOrderOnHold

      public void shouldWaitWhenQuantityUnAllocatedIsMoreThanZeroAndOrderOnHold() throws Exception
      Throws:
      Exception
    • shouldSetOrderStatusToCancelledWhenQuantityPendingIsZero

      public void shouldSetOrderStatusToCancelledWhenQuantityPendingIsZero() throws Exception
      Throws:
      Exception
    • shouldKeepOrderOnHoldWhenSuchOrderCancelled

      public void shouldKeepOrderOnHoldWhenSuchOrderCancelled() throws Exception
      Throws:
      Exception
    • shouldSetOrderStatusToSuspendedWhenSuchOrderCancelled

      public void shouldSetOrderStatusToSuspendedWhenSuchOrderCancelled() throws Exception
      Throws:
      Exception