Class WorkflowControllerIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.ordermanagementwebservices.util.BaseOrderManagementWebservicesIntegrationTest
de.hybris.platform.ordermanagementwebservices.controllers.workflow.WorkflowControllerIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class WorkflowControllerIntegrationTest
extends BaseOrderManagementWebservicesIntegrationTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class de.hybris.platform.ordermanagementwebservices.util.BaseOrderManagementWebservicesIntegrationTest
ADMIN_PASSWORD, ADMIN_USERNAME, CUSTOMER_SUPPORT_AGENT_PASSWORD, CUSTOMER_SUPPORT_AGENT_USERNAME, DEFAULT_CLIENT_ID, DEFAULT_CLIENT_SECRET, DEFAULT_CURRENT_PAGE, DEFAULT_FIELDS, DEFAULT_PAGE_SIZEFields 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 TypeMethodDescriptionvoidprotected voidcleanUpModel(String modelName) Removes all models with the provided nameprotected FlexibleSearchServiceprotected ModelServiceprotected WorkflowServiceprotected OmsWorkflowFacadeprotected UserServiceprotected WorkflowTemplateServicevoidsetup()voidvoidvoidMethods inherited from class de.hybris.platform.ordermanagementwebservices.util.BaseOrderManagementWebservicesIntegrationTest
assertBadRequestWithContent, getAllOrderByDefault, getDefaultSecuredRestCall, getEnumerationService, getExtensionNames, getOrderByCode, getOrderCancellationReasons, getOrderEntriesForOrderCode, getOrderEntryForOrderCodeAndEntryNumber, getOrderFraudReports, getOrdersByStatuses, getOrderStatusByDefault, getRefundReasons, getReturnActions, getReturnCancellationReasons, getReturnEntriesForReturnCode, getReturnForReturnCode, getReturns, getReturnsByStatus, getReturnStatuses, getSetupImpexService, getWorkflowActions, getWsSecuredRequestBuilder, postApproveFraudulentOrder, postCancelOrder, postCancelReturnRequestByDefault, postCreateOrder, postDecideWorkflowAction, postDecideWorkflowActions, postDefaultSecuredRestCall, postDefaultSecuredRestCall, postEmptyBodySecuredRestCall, postManualDeliveryCostCommit, postManualPaymentReauth, postManualPaymentVoid, postManualTaxCommit, postManualTaxRequote, postManualTaxVoid, postRejectFraudulentOrder, postRequestManualPaymentReversalForReturnRequest, postRequestManualTaxReversalForReturnRequest, putDefaultSecuredRestCall, putUpdateReturnByReturnCode, setEnumerationService, setSetupImpexServiceMethods 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
-
WORKFLOW_TEMPLATE_CODE
- See Also:
-
WORKFLOW_NAME
- See Also:
-
WORKFLOW_ACTION_NAME
- See Also:
-
DECISION_CODE
- See Also:
-
-
Constructor Details
-
WorkflowControllerIntegrationTest
public WorkflowControllerIntegrationTest()
-
-
Method Details
-
setup
public void setup() -
cleanUpData
public void cleanUpData() -
testPostDecideAction
public void testPostDecideAction() -
testPostDecideActions
public void testPostDecideActions() -
testGetWorkflowActions
public void testGetWorkflowActions() -
cleanUpModel
Removes all models with the provided name- Parameters:
modelName- the models to remove
-
getOmsWorkflowFacade
-
getNewestWorkflowService
-
getUserService
-
getWorkflowTemplateService
-
getFlexibleSearchService
-
getModelService
-