Class DefaultWarehousingConsignmentFacadeTest
- java.lang.Object
-
- de.hybris.platform.warehousingfacades.order.impl.DefaultWarehousingConsignmentFacadeTest
-
@UnitTest public class DefaultWarehousingConsignmentFacadeTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCAMERA_CODEprotected static java.lang.StringCAPTURE_PAYMENT_ON_CONSIGNMENTprotected static java.lang.StringCONSIGNMENT_ACTION_EVENT_NAMEprotected static java.lang.StringCONSIGNMENT_CODEprotected static java.lang.StringEXPORT_FORM_DOCUMENT_TEMPLATEprotected static java.lang.StringGLOBAL_REALLOCATION_WAREHOUSE_CODEprotected static java.lang.StringHANDLE_MANUAL_PAYMENT_CAPTURE_CHOICEprotected static java.lang.StringHANDLE_MANUAL_TAX_COMMIT_CHOICEprotected static java.lang.StringLENS_CODEprotected static java.lang.StringOK_PICKUP_CHOICEprotected static java.lang.StringOK_SHIP_CHOICEprotected static java.lang.StringPACK_CONSIGNMENT_CHOICEprotected static java.lang.StringPACK_SLIP_DOCUMENT_TEMPLATEprotected static java.lang.StringPACKING_TEMPLATE_CODEprotected static java.lang.StringPICK_SLIP_DOCUMENT_TEMPLATEprotected static java.lang.StringPICKING_TEMPLATE_CODEprotected static java.lang.StringREALLOCATE_CONSIGNMENT_CHOICEprotected static java.lang.StringREALLOCATION_WAREHOUSE_CODEprotected static java.lang.StringRETURN_FORM_DOCUMENT_TEMPLATEprotected static java.lang.StringRETURN_SHIPPING_LABEL_DOCUMENT_TEMPLATEprotected static java.lang.StringSHIPPING_LABEL_DOCUMENT_TEMPLATEprotected static java.lang.StringWRONG_CODE
-
Constructor Summary
Constructors Constructor Description DefaultWarehousingConsignmentFacadeTest()
-
Method Summary
-
-
-
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
-
CAMERA_CODE
protected static final java.lang.String CAMERA_CODE
- See Also:
- Constant Field Values
-
LENS_CODE
protected static final java.lang.String LENS_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
-
OK_SHIP_CHOICE
protected static final java.lang.String OK_SHIP_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
-
WRONG_CODE
protected static final java.lang.String WRONG_CODE
- See Also:
- Constant Field Values
-
-
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()
-
-