Class DefaultUserServiceIntegrationTest

java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.user.impl.DefaultUserServiceIntegrationTest
All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultUserServiceIntegrationTest extends ServicelayerBaseTest
  • Constructor Details

    • DefaultUserServiceIntegrationTest

      public DefaultUserServiceIntegrationTest()
  • Method Details

    • tearDown

      public void tearDown()
    • shouldGetUserWithNoDecoratedUserId

      public void shouldGetUserWithNoDecoratedUserId()
    • shouldGetCustomerWithNoDecoratedUserId

      public void shouldGetCustomerWithNoDecoratedUserId()
    • shouldNotGetUserAndThrowExceptionWhenProvidingIncorrectUserId

      public void shouldNotGetUserAndThrowExceptionWhenProvidingIncorrectUserId()
    • shouldNotGetUserWithDecoratedUserIdAndThrowExceptionIfThereIsNoConfiguredUserIdDecorationStrategy

      public void shouldNotGetUserWithDecoratedUserIdAndThrowExceptionIfThereIsNoConfiguredUserIdDecorationStrategy()
    • shouldGetUserIfThereIsNoUserWithDecoratedUserIdAndUserIdDecorationStrategyIsConfigured

      public void shouldGetUserIfThereIsNoUserWithDecoratedUserIdAndUserIdDecorationStrategyIsConfigured()
    • shouldGetCustomerWithDecoratedUserId

      public void shouldGetCustomerWithDecoratedUserId()
    • shouldGetCustomerWithDecoratedUserIdWhenExistsEmployeeWithTheSameUid

      public void shouldGetCustomerWithDecoratedUserIdWhenExistsEmployeeWithTheSameUid()
    • shouldNotGetUserAndThrowExceptionIfFoundUserIsCustomerType

      public void shouldNotGetUserAndThrowExceptionIfFoundUserIsCustomerType()
    • shouldNotGetCustomerAndThrowExceptionIfExistsNonDecoratedCustomerWhenExistsDecoration

      public void shouldNotGetCustomerAndThrowExceptionIfExistsNonDecoratedCustomerWhenExistsDecoration()
    • shouldGetEmployeeIfExistsNonDecoratedEmployeeWhenExistsDecoration

      public void shouldGetEmployeeIfExistsNonDecoratedEmployeeWhenExistsDecoration()
    • shouldNotFindUserIfExistsNonDecoratedCustomerWhenExistsDecoration

      public void shouldNotFindUserIfExistsNonDecoratedCustomerWhenExistsDecoration()
    • shouldFindUserIfExistsNonDecoratedEmployeeWhenExistsDecoration

      public void shouldFindUserIfExistsNonDecoratedEmployeeWhenExistsDecoration()
    • shouldUseAllUserIdDecorationStrategiesToGetTheCustomer

      public void shouldUseAllUserIdDecorationStrategiesToGetTheCustomer()
    • shouldUseOnlyBarAndBazUserIdDecorationStrategiesToGetCustomerWhenTheFirstOneIsDisabled

      public void shouldUseOnlyBarAndBazUserIdDecorationStrategiesToGetCustomerWhenTheFirstOneIsDisabled()
    • shouldUseOnlyTheLastUserIdDecorationStrategyToGetCustomerWhenThePreviousAreDisabled

      public void shouldUseOnlyTheLastUserIdDecorationStrategyToGetCustomerWhenThePreviousAreDisabled()
    • shouldNotGetAnyUserAndThrowExceptionIfAllStrategiesAreDisabled

      public void shouldNotGetAnyUserAndThrowExceptionIfAllStrategiesAreDisabled()
    • shouldGetUserWithNoDecoratedUserIdIfAllStrategiesAreDisabled

      public void shouldGetUserWithNoDecoratedUserIdIfAllStrategiesAreDisabled()
    • shouldGetCustomerWithNoDecoratedUserIdIfAllStrategiesAreDisabled

      public void shouldGetCustomerWithNoDecoratedUserIdIfAllStrategiesAreDisabled()
    • shouldGetEmployeeWithNoDecoratedUserIdIfAllStrategiesAreDisabled

      public void shouldGetEmployeeWithNoDecoratedUserIdIfAllStrategiesAreDisabled()
    • shouldAddPrefixAndSuffixWhenDecoratingInOrderToGetustomerWithDecoratedUserId

      public void shouldAddPrefixAndSuffixWhenDecoratingInOrderToGetustomerWithDecoratedUserId()
    • shouldAddPrefixAndSuffixesWhenDecoratingInOrderToGetCustomerWithDecoratedUserId

      public void shouldAddPrefixAndSuffixesWhenDecoratingInOrderToGetCustomerWithDecoratedUserId()
    • shouldAddPrefixesAndSuffixesWhenDecoratingInOrderToGetCustomerWithDecoratedUserId

      public void shouldAddPrefixesAndSuffixesWhenDecoratingInOrderToGetCustomerWithDecoratedUserId()
    • shouldThrowExceptionIfUserIdIsNull

      public void shouldThrowExceptionIfUserIdIsNull()
    • shouldNotThrowExceptionAndNotDecorateCustomerIdIfStrategyReturnsNull

      public void shouldNotThrowExceptionAndNotDecorateCustomerIdIfStrategyReturnsNull()
    • shouldNotDecorateUserIdWhenGettingAdmin

      public void shouldNotDecorateUserIdWhenGettingAdmin()
    • shouldNotDecorateUserIdWhenGettingAnonymous

      public void shouldNotDecorateUserIdWhenGettingAnonymous()