@IntegrationTest public class UserSldTest extends ServicelayerBaseTest
| Modifier and Type | Field and Description |
|---|---|
ExpectedException |
thrown |
jaloSession| Constructor and Description |
|---|
UserSldTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldAddAllWritableCatalogVersionsToReadableAndRemoveNonUniqueOnesOnSave() |
void |
shouldGetAllGroupsReturnSameValueBeforeAndAfterBeingSaved() |
void |
shouldGetDiscountRowsUsingSldAndRemoveOnlyOnesThatBelongToCustomer() |
void |
shouldPasswordBeTheSameForItemAndModel() |
void |
shouldPersistAndReadThroughSld() |
void |
shouldPersistAndRemoveUserWithAddresses() |
void |
shouldRemoveCartsWhenCartsSwitchUserAndThatUserIsRemoved() |
void |
shouldSearchRestrictionsBeDisabledWhenGettingGroupsFromCustomer() |
void |
shouldSetCurrentDateToPresentDay() |
void |
shouldThrowExceptionWhenRemovingUserWithOrders() |
void |
tearDown() |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
public void tearDown()
public void shouldPersistAndReadThroughSld()
public void shouldPersistAndRemoveUserWithAddresses()
public void shouldGetAllGroupsReturnSameValueBeforeAndAfterBeingSaved()
public void shouldPasswordBeTheSameForItemAndModel()
throws ConsistencyCheckException
ConsistencyCheckExceptionpublic void shouldThrowExceptionWhenRemovingUserWithOrders()
public void shouldSetCurrentDateToPresentDay()
public void shouldRemoveCartsWhenCartsSwitchUserAndThatUserIsRemoved()
public void shouldAddAllWritableCatalogVersionsToReadableAndRemoveNonUniqueOnesOnSave()
public void shouldGetDiscountRowsUsingSldAndRemoveOnlyOnesThatBelongToCustomer()
throws ImpExException,
ConsistencyCheckException,
java.lang.InterruptedException
ImpExExceptionConsistencyCheckExceptionjava.lang.InterruptedExceptionpublic void shouldSearchRestrictionsBeDisabledWhenGettingGroupsFromCustomer()
Copyright © 2018 SAP SE. All Rights Reserved.