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
Fields Modifier and Type Field Description protected static java.lang.StringCONSIGNMENT_0protected static java.lang.StringCONSIGNMENT_1-
Fields 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, warehousingReturnService
-
Fields inherited from class de.hybris.platform.warehousingwebservices.warehousingwebservices.util.BaseWebservicesIntegrationTest
springCustomContextLoader
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description ConsignmentsControllerIntegrationTest()
-
Method Summary
-
Methods 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, waitForReturnProcessComplete
-
Methods inherited from class de.hybris.platform.warehousingwebservices.warehousingwebservices.util.BaseWebservicesIntegrationTest
getEnumerationService, getWsSecuredRequestBuilder, setEnumerationService
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
CONSIGNMENT_0
protected static final java.lang.String CONSIGNMENT_0
- See Also:
- Constant Field Values
-
CONSIGNMENT_1
protected static final java.lang.String CONSIGNMENT_1
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public void pickConsignmentDefault() throws ImpExException- Throws:
ImpExException
-
pickConsignmentWhenPrintSlipIsFalse
public void pickConsignmentWhenPrintSlipIsFalse() throws ImpExException- Throws:
ImpExException
-
packConsignmentDefault
public void packConsignmentDefault() throws ImpExException- Throws:
ImpExException
-
packConsignmentWhenPrintSlipIsFalse
public void packConsignmentWhenPrintSlipIsFalse() throws ImpExException- Throws:
ImpExException
-
pickShippedConsignmentDefault
public void pickShippedConsignmentDefault() throws ImpExException- Throws:
ImpExException
-
pickShippedConsignmentWhenPrintSlipIsTrue
public void pickShippedConsignmentWhenPrintSlipIsTrue() throws ImpExException- Throws:
ImpExException
-
pickShippedConsignmentWhenPrintSlipIsFalse
public void pickShippedConsignmentWhenPrintSlipIsFalse() throws ImpExException- Throws:
ImpExException
-
packShippedConsignmentDefault
public void packShippedConsignmentDefault() throws ImpExException- Throws:
ImpExException
-
packShippedConsignmentWhenPrintSlipIsTrue
public void packShippedConsignmentWhenPrintSlipIsTrue() throws ImpExException- Throws:
ImpExException
-
packShippedConsignmentWhenPrintSlipIsFalse
public void packShippedConsignmentWhenPrintSlipIsFalse() throws ImpExException- Throws:
ImpExException
-
getExportForm
public void getExportForm() throws ImpExException- Throws:
ImpExException
-
getShippingLabel
public void getShippingLabel() throws ImpExException- Throws:
ImpExException
-
getReturnShippingLabel
public void getReturnShippingLabel() throws ImpExException- Throws:
ImpExException
-
getReturnForm
public void getReturnForm() throws ImpExException- Throws:
ImpExException
-
consolidatedPickSlip
public void consolidatedPickSlip() throws ImpExException- 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
protected void importEmailContentCsv() throws ImpExExceptionImports 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
-
-