Class B2BMerchantCheckTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.b2b.B2BIntegrationTest
-
- de.hybris.platform.b2b.WorkflowIntegrationTest
-
- de.hybris.platform.b2b.services.impl.B2BMerchantCheckTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest @ContextConfiguration(locations="classpath:/b2bapprovalprocess-spring-test.xml") public class B2BMerchantCheckTest extends WorkflowIntegrationTest
-
-
Field Summary
Fields Modifier and Type Field Description WorkflowActionServiceworkflowActionService-
Fields inherited from class de.hybris.platform.b2b.B2BIntegrationTest
baseSiteService, commerceCheckoutService
-
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 B2BMerchantCheckTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeTest()voidshouldStartApprovalProcessAndAssertApprovalFromMerchant()voidshouldStartApprovalProcessAndIgnoreExpriedCreditLimit()voidshouldStartApprovalProcessAndIgnoreInactiveCreditLimit()voidshouldTriggerCreditAlert()voidshouldTriggerCreditAlertOnceForTimePeriod()-
Methods inherited from class de.hybris.platform.b2b.WorkflowIntegrationTest
approveWorkflowAction, waitForProcess, waitForProcessAction, waitForProcessToEnd
-
Methods inherited from class de.hybris.platform.b2b.B2BIntegrationTest
createJobPerformables, createOrder, createOrder, createOrder, loadTestData, login, login, setDefaultCostCenterOnEntries
-
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
-
workflowActionService
public WorkflowActionService workflowActionService
-
-
Method Detail
-
beforeTest
public void beforeTest() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldStartApprovalProcessAndAssertApprovalFromMerchant
public void shouldStartApprovalProcessAndAssertApprovalFromMerchant() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldTriggerCreditAlertOnceForTimePeriod
public void shouldTriggerCreditAlertOnceForTimePeriod() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldTriggerCreditAlert
public void shouldTriggerCreditAlert() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldStartApprovalProcessAndIgnoreExpriedCreditLimit
public void shouldStartApprovalProcessAndIgnoreExpriedCreditLimit() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldStartApprovalProcessAndIgnoreInactiveCreditLimit
public void shouldStartApprovalProcessAndIgnoreInactiveCreditLimit() throws java.lang.Exception- Throws:
java.lang.Exception
-
-