Class ConsignmentPaymentCapturedDenialStrategyTest


  • @UnitTest
    public class ConsignmentPaymentCapturedDenialStrategyTest
    extends java.lang.Object
    • Field Detail

      • CANCELLABLE_CONSIGNMENT_STATUS

        protected static final ConsignmentStatus CANCELLABLE_CONSIGNMENT_STATUS
      • NOT_CANCELLABLE_CONSIGNMENT_STATUS

        protected static final ConsignmentStatus NOT_CANCELLABLE_CONSIGNMENT_STATUS
    • Constructor Detail

      • ConsignmentPaymentCapturedDenialStrategyTest

        public ConsignmentPaymentCapturedDenialStrategyTest()
    • Method Detail

      • setup

        public void setup()
      • shouldReturnOkWhenOrderHasUnallocatedItems

        public void shouldReturnOkWhenOrderHasUnallocatedItems()
      • shouldReturnOkWhenOneConsignmentIsCancellable

        public void shouldReturnOkWhenOneConsignmentIsCancellable()
      • shouldReturnOkWhenAllConsignmentAreCancellable

        public void shouldReturnOkWhenAllConsignmentAreCancellable()
      • shouldReturnNotOkWhenAllConsignmentAreNotCancellable

        public void shouldReturnNotOkWhenAllConsignmentAreNotCancellable()
      • shouldReturnOkWhenCapturePaymentOnConsignmentIsNotEnabled

        public void shouldReturnOkWhenCapturePaymentOnConsignmentIsNotEnabled()