Class ConsignmentsControllerIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.warehousingwebservices.warehousingwebservices.util.BaseWebservicesIntegrationTest
de.hybris.platform.warehousingwebservices.warehousingwebservices.util.BaseWarehousingWebservicesIntegrationTest
de.hybris.platform.warehousingwebservices.warehousingwebservices.ConsignmentsControllerIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
@DirtiesContext(classMode=BEFORE_CLASS)
public class ConsignmentsControllerIntegrationTest
extends BaseWarehousingWebservicesIntegrationTest
-
Field Summary
FieldsFields inherited from class de.hybris.platform.warehousingwebservices.warehousingwebservices.util.BaseWarehousingWebservicesIntegrationTest
addresses, allocationService, ASNS, baseSites, baseStores, businessProcessService, commentTypes, components, DEFAULT_CLIENT_ID, DEFAULT_CLIENT_SECRET, DEFAULT_CURRENT_PAGE, DEFAULT_FIELDS, DEFAULT_PAGE_SIZE, deliveryModes, eventService, flexibleSearchService, modelService, orders, pointsOfService, products, returnCallbackService, sourcingService, stockLevels, STOCKLEVELS, users, WAREHOUSE_AGENT_PASSWORD, WAREHOUSE_AGENT_USERNAME, warehouses, warehousingReturnServiceFields inherited from class de.hybris.platform.warehousingwebservices.warehousingwebservices.util.BaseWebservicesIntegrationTest
springCustomContextLoaderFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprotected voidImports email contentvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprotected voidsetOrderAndConsignmentStatus(OrderStatus orderStatus, ConsignmentStatus consignmentStatus) Sets the status of theOrderModeland all theConsignmentModelprotected voidCalls setOrderandConsignmentStatus to set the status of the shippedOrderModeland all theConsignmentModelto Readyvoidsetup()voidMethods inherited from class de.hybris.platform.warehousingwebservices.warehousingwebservices.util.BaseWarehousingWebservicesIntegrationTest
assertBadRequestWithContent, cleanUpData, cleanUpModel, createApprovedReturnRequest, createConsignmentReallocationWsDTO, createFailedSourcedOrder, createPackagingInfo, createReturnAndReadyToAcceptGoods, createShippedConsignmentAndOrder, createUsAddress, deleteDefaultSecuredRestCall, deleteWarehousesFromPointOfService, getAllConsignmentsByDefault, getAllWarehousesByDefault, getBusinessProcessService, getConsignmentEntriesByDefault, getConsignmentsForCodeByDefault, getConsignmentStatusByDefault, getDeclineReasonsByDefault, getDefaultSecuredRestCall, getEmptySecuredRestCall, getEventService, getModelService, getPackagingInfoByDefault, getPointOfServiceByDefault, getReturnCallbackService, getSourcingLocationsByDefault, getStockLevelAdjustmentReasons, getStockLevelsForWarehouseCodeByDefault, getWarehouseByDefault, getWarehouseForPointOfServiceByDefault, manuallyReleasePaymentCaptureRestCall, manuallyReleaseTaxCommitRestCall, postAcceptGoodsByDefault, postAsnByDefault, postBodySecuredRestCall, postConfirmAsnReceiptByDefault, postDefaultSecuredRestCall, postDefaultSecuredRestCall, postEmptyBodySecuredRestCall, postPackConsignmentDefault, postPackConsignmentWithPrintSlip, postPickConsignmentDefault, postPickConsignmentWithPrintSlip, postPutOrderOnHold, postResourceOrder, postStockLevelAdjustmentByDefault, postStockLevelAdjustmentByDefault_Reponse, postStockLevelByDefault, postStockLevelByDefault_WithReturnType_StockLevelWsDto, postTakePaymentRestCall, postUpdatePointOfServiceWarehouses, putDefaultSecuredRestCall, putUpdatePointOfServiceAddress, saveAll, setBusinessProcessService, setModelService, setReturnCallbackService, startConsignmentProcess, updatePackagingInfoByDefault, waitForReturnProcessCompleteMethods inherited from class de.hybris.platform.warehousingwebservices.warehousingwebservices.util.BaseWebservicesIntegrationTest
getEnumerationService, getWsSecuredRequestBuilder, setEnumerationServiceMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Field Details
-
CONSIGNMENT_0
- See Also:
-
CONSIGNMENT_1
- See Also:
-
-
Constructor Details
-
ConsignmentsControllerIntegrationTest
public ConsignmentsControllerIntegrationTest()
-
-
Method Details
-
setup
public void setup()- Overrides:
setupin classBaseWarehousingWebservicesIntegrationTest
-
cleanUp
public void cleanUp() -
getAllConsignments
public void getAllConsignments() -
getConsignmentForCode
public void getConsignmentForCode() -
getConsignmentStatus
public void getConsignmentStatus() -
getDeclineReasons
public void getDeclineReasons() -
getConsignmentEntries
public void getConsignmentEntries() -
getSourcingLocations
public void getSourcingLocations() -
getPackagingInfo
public void getPackagingInfo() -
updatePackagingInfo
public void updatePackagingInfo() -
reallocateConsignment
public void reallocateConsignment() -
pickConsignmentDefault
- Throws:
ImpExException
-
pickConsignmentWhenPrintSlipIsFalse
- Throws:
ImpExException
-
packConsignmentDefault
- Throws:
ImpExException
-
packConsignmentWhenPrintSlipIsFalse
- Throws:
ImpExException
-
pickShippedConsignmentDefault
- Throws:
ImpExException
-
pickShippedConsignmentWhenPrintSlipIsTrue
- Throws:
ImpExException
-
pickShippedConsignmentWhenPrintSlipIsFalse
- Throws:
ImpExException
-
packShippedConsignmentDefault
- Throws:
ImpExException
-
packShippedConsignmentWhenPrintSlipIsTrue
- Throws:
ImpExException
-
packShippedConsignmentWhenPrintSlipIsFalse
- Throws:
ImpExException
-
getExportForm
- Throws:
ImpExException
-
getShippingLabel
- Throws:
ImpExException
-
getReturnShippingLabel
- Throws:
ImpExException
-
getReturnForm
- Throws:
ImpExException
-
consolidatedPickSlip
- Throws:
ImpExException
-
postTakePayment
public void postTakePayment() -
manuallyReleasePaymentCaptureConsignment
public void manuallyReleasePaymentCaptureConsignment() -
manuallyReleasePaymentCaptureConsignmentWithInvalidCode
public void manuallyReleasePaymentCaptureConsignmentWithInvalidCode() -
manuallyReleasePaymentCaptureConsignmentWithInvalidStatus
public void manuallyReleasePaymentCaptureConsignmentWithInvalidStatus() -
manuallyReleaseTaxCommitConsignment
public void manuallyReleaseTaxCommitConsignment() -
manuallyReleaseTaxCommitConsignmentWithInvalidCode
public void manuallyReleaseTaxCommitConsignmentWithInvalidCode() -
manuallyReleaseTaxCommitConsignmentWithInvalidStatus
public void manuallyReleaseTaxCommitConsignmentWithInvalidStatus() -
importEmailContentCsv
Imports email content- Throws:
ImpExException
-
setOrderAndConsignmentStatusToReady
protected void setOrderAndConsignmentStatusToReady()Calls setOrderandConsignmentStatus to set the status of the shippedOrderModeland all theConsignmentModelto Ready -
setOrderAndConsignmentStatus
protected void setOrderAndConsignmentStatus(OrderStatus orderStatus, ConsignmentStatus consignmentStatus) Sets the status of theOrderModeland all theConsignmentModel- Parameters:
orderStatus- TheOrderStatusto set for theOrderModelconsignmentStatus- TheConsignmentStatusto set for all theConsignmentModel
-