Class UserSldTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class UserSldTest extends ServicelayerBaseTest
  • Field Details

    • thrown

      public org.junit.rules.ExpectedException thrown
  • Constructor Details

    • UserSldTest

      public UserSldTest()
  • Method Details

    • setUp

      public void setUp()
    • tearDown

      public void tearDown()
    • shouldPersistAndReadThroughSld

      public void shouldPersistAndReadThroughSld()
    • shouldPersistAndRemoveUserWithAddresses

      public void shouldPersistAndRemoveUserWithAddresses()
    • shouldGetAllGroupsReturnSameValueBeforeAndAfterBeingSaved

      public void shouldGetAllGroupsReturnSameValueBeforeAndAfterBeingSaved()
    • shouldPasswordBeTheSameForItemAndModel

      public void shouldPasswordBeTheSameForItemAndModel() throws ConsistencyCheckException
      Throws:
      ConsistencyCheckException
    • shouldThrowExceptionWhenRemovingUserWithOrders

      public void shouldThrowExceptionWhenRemovingUserWithOrders()
    • shouldSetCurrentDateToPresentDay

      public void shouldSetCurrentDateToPresentDay()
    • shouldRemoveCartsWhenCartsSwitchUserAndThatUserIsRemoved

      public void shouldRemoveCartsWhenCartsSwitchUserAndThatUserIsRemoved()
    • shouldAddAllWritableCatalogVersionsToReadableAndRemoveNonUniqueOnesOnSave

      public void shouldAddAllWritableCatalogVersionsToReadableAndRemoveNonUniqueOnesOnSave()
    • shouldGetDiscountRowsUsingSldAndRemoveOnlyOnesThatBelongToCustomer

      public void shouldGetDiscountRowsUsingSldAndRemoveOnlyOnesThatBelongToCustomer()
    • shouldSearchRestrictionsBeDisabledWhenGettingGroupsFromCustomer

      public void shouldSearchRestrictionsBeDisabledWhenGettingGroupsFromCustomer()