Class ConsignmentPaymentCapturedDenialStrategyTest

java.lang.Object
de.hybris.platform.ordercancel.impl.denialstrategies.ConsignmentPaymentCapturedDenialStrategyTest

@UnitTest public class ConsignmentPaymentCapturedDenialStrategyTest extends Object
  • Field Details

    • CANCELLABLE_CONSIGNMENT_STATUS

      protected static final ConsignmentStatus CANCELLABLE_CONSIGNMENT_STATUS
    • NOT_CANCELLABLE_CONSIGNMENT_STATUS

      protected static final ConsignmentStatus NOT_CANCELLABLE_CONSIGNMENT_STATUS
  • Constructor Details

    • ConsignmentPaymentCapturedDenialStrategyTest

      public ConsignmentPaymentCapturedDenialStrategyTest()
  • Method Details

    • setup

      public void setup()
    • shouldReturnOkWhenOrderHasUnallocatedItems

      public void shouldReturnOkWhenOrderHasUnallocatedItems()
    • shouldReturnOkWhenOneConsignmentIsCancellable

      public void shouldReturnOkWhenOneConsignmentIsCancellable()
    • shouldReturnOkWhenAllConsignmentAreCancellable

      public void shouldReturnOkWhenAllConsignmentAreCancellable()
    • shouldReturnNotOkWhenAllConsignmentAreNotCancellable

      public void shouldReturnNotOkWhenAllConsignmentAreNotCancellable()
    • shouldReturnOkWhenCapturePaymentOnConsignmentIsNotEnabled

      public void shouldReturnOkWhenCapturePaymentOnConsignmentIsNotEnabled()