@IntegrationTest public class B2BUnitModelValidateInterceptorTest extends B2BIntegrationTest
| Modifier and Type | Field and Description |
|---|---|
protected B2BUnitService<B2BUnitModel,B2BCustomerModel> |
b2bUnitService |
ExpectedException |
thrown |
b2bCartFactory, b2bCartService, b2bCostCenterService, b2bEmailService, b2bOrderService, baseSiteService, businessProcessService, calculationService, commerceCheckoutService, commonI18NService, flexibleSearchService, i18nService, modelService, newestWorkflowService, orderCodeGenerator, processParameterHelper, productService, searchRestrictionService, sessionService, userService, validationService, workflowActionService, workflowProcessingService, workflowTemplateServiceimportServicejaloSession| Constructor and Description |
|---|
B2BUnitModelValidateInterceptorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeTest() |
void |
shouldAllowUserToBecomeApprover() |
void |
shouldB2BUnitWithoutParentAllowedToBeCreatedByAdmingroupUser() |
void |
shouldB2BUnitWithoutParentNotAllowedToBeCreatedByNonAdmingroupUser() |
void |
shouldB2BUnitWithParentAllowedToBeCreatedByNonAdmingroupUser() |
void |
shouldDisabledB2BUnitAllowedToBeCreated() |
void |
shouldNotAllowUserToBecomeApprover() |
createJobPerformables, createOrder, createOrder, createOrder, loadTestData, login, login, setDefaultCostCenterOnEntriescreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionprotected B2BUnitService<B2BUnitModel,B2BCustomerModel> b2bUnitService
public ExpectedException thrown
public void beforeTest()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldB2BUnitWithoutParentAllowedToBeCreatedByAdmingroupUser()
public void shouldB2BUnitWithoutParentNotAllowedToBeCreatedByNonAdmingroupUser()
public void shouldB2BUnitWithParentAllowedToBeCreatedByNonAdmingroupUser()
public void shouldDisabledB2BUnitAllowedToBeCreated()
public void shouldNotAllowUserToBecomeApprover()
public void shouldAllowUserToBecomeApprover()
Copyright © 2018 SAP SE. All Rights Reserved.