Class DefaultWarehousingConsignmentFacadeTest


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

      • CONSIGNMENT_ACTION_EVENT_NAME

        protected static final java.lang.String CONSIGNMENT_ACTION_EVENT_NAME
        See Also:
        Constant Field Values
      • REALLOCATE_CONSIGNMENT_CHOICE

        protected static final java.lang.String REALLOCATE_CONSIGNMENT_CHOICE
        See Also:
        Constant Field Values
      • PICKING_TEMPLATE_CODE

        protected static final java.lang.String PICKING_TEMPLATE_CODE
        See Also:
        Constant Field Values
      • PICK_SLIP_DOCUMENT_TEMPLATE

        protected static final java.lang.String PICK_SLIP_DOCUMENT_TEMPLATE
        See Also:
        Constant Field Values
      • PACKING_TEMPLATE_CODE

        protected static final java.lang.String PACKING_TEMPLATE_CODE
        See Also:
        Constant Field Values
      • PACK_SLIP_DOCUMENT_TEMPLATE

        protected static final java.lang.String PACK_SLIP_DOCUMENT_TEMPLATE
        See Also:
        Constant Field Values
      • PACK_CONSIGNMENT_CHOICE

        protected static final java.lang.String PACK_CONSIGNMENT_CHOICE
        See Also:
        Constant Field Values
      • EXPORT_FORM_DOCUMENT_TEMPLATE

        protected static final java.lang.String EXPORT_FORM_DOCUMENT_TEMPLATE
        See Also:
        Constant Field Values
      • SHIPPING_LABEL_DOCUMENT_TEMPLATE

        protected static final java.lang.String SHIPPING_LABEL_DOCUMENT_TEMPLATE
        See Also:
        Constant Field Values
      • RETURN_SHIPPING_LABEL_DOCUMENT_TEMPLATE

        protected static final java.lang.String RETURN_SHIPPING_LABEL_DOCUMENT_TEMPLATE
        See Also:
        Constant Field Values
      • RETURN_FORM_DOCUMENT_TEMPLATE

        protected static final java.lang.String RETURN_FORM_DOCUMENT_TEMPLATE
        See Also:
        Constant Field Values
      • CONSIGNMENT_CODE

        protected static final java.lang.String CONSIGNMENT_CODE
        See Also:
        Constant Field Values
      • REALLOCATION_WAREHOUSE_CODE

        protected static final java.lang.String REALLOCATION_WAREHOUSE_CODE
        See Also:
        Constant Field Values
      • GLOBAL_REALLOCATION_WAREHOUSE_CODE

        protected static final java.lang.String GLOBAL_REALLOCATION_WAREHOUSE_CODE
        See Also:
        Constant Field Values
      • OK_PICKUP_CHOICE

        protected static final java.lang.String OK_PICKUP_CHOICE
        See Also:
        Constant Field Values
      • CAPTURE_PAYMENT_ON_CONSIGNMENT

        protected static final java.lang.String CAPTURE_PAYMENT_ON_CONSIGNMENT
        See Also:
        Constant Field Values
      • HANDLE_MANUAL_PAYMENT_CAPTURE_CHOICE

        protected static final java.lang.String HANDLE_MANUAL_PAYMENT_CAPTURE_CHOICE
        See Also:
        Constant Field Values
      • HANDLE_MANUAL_TAX_COMMIT_CHOICE

        protected static final java.lang.String HANDLE_MANUAL_TAX_COMMIT_CHOICE
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultWarehousingConsignmentFacadeTest

        public DefaultWarehousingConsignmentFacadeTest()
    • Method Detail

      • setUp

        public void setUp()
      • testReallocateConsignmentMultiEntriesAutoDecline

        public void testReallocateConsignmentMultiEntriesAutoDecline()
      • testReallocateConsignmentMultiEntriesGlobalReallocationWarehouse

        public void testReallocateConsignmentMultiEntriesGlobalReallocationWarehouse()
      • testReallocateConsignmentMultiEntriesAutoAndManualDecline

        public void testReallocateConsignmentMultiEntriesAutoAndManualDecline()
      • testReallocateConsignmentMultiEntriesGlobalAndLocalReallocationWarehouse

        public void testReallocateConsignmentMultiEntriesGlobalAndLocalReallocationWarehouse()
      • testReallocateConsignmentNoDeclineEntriesData

        public void testReallocateConsignmentNoDeclineEntriesData()
      • testReallocateConfirmedConsignment

        public void testReallocateConfirmedConsignment()
      • testReallocateCapturedConsignment

        public void testReallocateCapturedConsignment()
      • testReallocatePickupConsignment

        public void testReallocatePickupConsignment()
      • testReallocateConsignmentQtyHigherThanPending

        public void testReallocateConsignmentQtyHigherThanPending()
      • testReallocateConsignmentExternalFulfillmentConfiguration

        public void testReallocateConsignmentExternalFulfillmentConfiguration()
      • testPickConsignmentWhenCodeIsNull

        public void testPickConsignmentWhenCodeIsNull()
      • testPickConsignmentWhenCodeIsWrong

        public void testPickConsignmentWhenCodeIsWrong()
      • testPickConsignmentWhenFulfillmentConfigurationIsExternal

        public void testPickConsignmentWhenFulfillmentConfigurationIsExternal()
      • testPickConsignmentWhenAlreadyPicked

        public void testPickConsignmentWhenAlreadyPicked()
      • testPickConsignmentWhenNoWorkflowActionAttached

        public void testPickConsignmentWhenNoWorkflowActionAttached()
      • testPickConsignmentSuccess

        public void testPickConsignmentSuccess()
      • testPickConsignmentWhenPrintSlipFlagIsFalse

        public void testPickConsignmentWhenPrintSlipFlagIsFalse()
      • testPackConsignmentWhenCodeIsNull

        public void testPackConsignmentWhenCodeIsNull()
      • testPackConsignmentWhenCodeIsWrong

        public void testPackConsignmentWhenCodeIsWrong()
      • testPackConsignmentWhenFulfillmentConfigurationIsExternal

        public void testPackConsignmentWhenFulfillmentConfigurationIsExternal()
      • testPackConsignmentWhenAlreadyPacked

        public void testPackConsignmentWhenAlreadyPacked()
      • testPackConsignmentSuccess

        public void testPackConsignmentSuccess()
      • testPackConsignmentWhenPrintSlipFlagIsFalse

        public void testPackConsignmentWhenPrintSlipFlagIsFalse()
      • testGetExportFormWhenCodeIsNull

        public void testGetExportFormWhenCodeIsNull()
      • testGetExportFormWhenCodeIsWrong

        public void testGetExportFormWhenCodeIsWrong()
      • testGetExportFormWhenFulfillmentConfigurationIsExternal

        public void testGetExportFormWhenFulfillmentConfigurationIsExternal()
      • testGetExportFormSuccess

        public void testGetExportFormSuccess()
      • testGetShippingLabelCodeIsNull

        public void testGetShippingLabelCodeIsNull()
      • testGetShippingLabelWhenCodeIsWrong

        public void testGetShippingLabelWhenCodeIsWrong()
      • testGetShippingLabelWhenFulfillmentConfigurationIsExternal

        public void testGetShippingLabelWhenFulfillmentConfigurationIsExternal()
      • testGetShippingLabelSuccess

        public void testGetShippingLabelSuccess()
      • testGetReturnShippingLabelCodeIsNull

        public void testGetReturnShippingLabelCodeIsNull()
      • testGetReturnShippingLabelWhenCodeIsWrong

        public void testGetReturnShippingLabelWhenCodeIsWrong()
      • testGetReturnShippingLabelWhenFulfillmentConfigurationIsExternal

        public void testGetReturnShippingLabelWhenFulfillmentConfigurationIsExternal()
      • testGetReturnShippingLabelSuccess

        public void testGetReturnShippingLabelSuccess()
      • testGetReturnFormWhenCodeIsNull

        public void testGetReturnFormWhenCodeIsNull()
      • testGetReturnFormWhenCodeIsWrong

        public void testGetReturnFormWhenCodeIsWrong()
      • testGetReturnFormWhenFulfillmentConfigurationIsExternal

        public void testGetReturnFormWhenFulfillmentConfigurationIsExternal()
      • testGetReturnFormSuccess

        public void testGetReturnFormSuccess()
      • testConsolidatedPickSlipWhenListIsNull

        public void testConsolidatedPickSlipWhenListIsNull()
      • testConsolidatedPickSlipWhenConsignmentCodeListIsNull

        public void testConsolidatedPickSlipWhenConsignmentCodeListIsNull()
      • testConsolidatedPickSlipWhenConsignmentCodeListEmpty

        public void testConsolidatedPickSlipWhenConsignmentCodeListEmpty()
      • testConsolidatedPickSlipWhenConsignmentCodeIsWrong

        public void testConsolidatedPickSlipWhenConsignmentCodeIsWrong()
      • testConsolidatedPickSlipWhenFulfillmentConfigurationIsExternal

        public void testConsolidatedPickSlipWhenFulfillmentConfigurationIsExternal()
      • testConsolidatedPickSlipSuccess

        public void testConsolidatedPickSlipSuccess()
      • testTakePaymentWhenCodeIsNull

        public void testTakePaymentWhenCodeIsNull()
      • testTakePaymentWhenConsignmentIsInReadyForShippingStatus

        public void testTakePaymentWhenConsignmentIsInReadyForShippingStatus()
      • testTakePaymentWhenConsignmentIsInReadyForPickupStatus

        public void testTakePaymentWhenConsignmentIsInReadyForPickupStatus()
      • testTakePaymentSuccess

        public void testTakePaymentSuccess()
      • testManuallyReleasePaymentCaptureConsignmentSuccess

        public void testManuallyReleasePaymentCaptureConsignmentSuccess()
      • testManuallyReleasePaymentCaptureConsignmentWithInvalidStatus

        public void testManuallyReleasePaymentCaptureConsignmentWithInvalidStatus()
      • testManuallyReleasePaymentCaptureConsignmentWithInvalidCode

        public void testManuallyReleasePaymentCaptureConsignmentWithInvalidCode()
      • testManuallyReleaseTaxCommitConsignmentSuccess

        public void testManuallyReleaseTaxCommitConsignmentSuccess()
      • testManuallyReleaseTaxCommitConsignmentWithInvalidStatus

        public void testManuallyReleaseTaxCommitConsignmentWithInvalidStatus()
      • testManuallyReleaseTaxCommitConsignmentWithInvalidCode

        public void testManuallyReleaseTaxCommitConsignmentWithInvalidCode()