Class DefaultUserServiceTest

java.lang.Object
de.hybris.platform.servicelayer.user.impl.DefaultUserServiceTest

@UnitTest public class DefaultUserServiceTest extends Object
Unit tests for DefaultUserService.
  • Constructor Details

    • DefaultUserServiceTest

      public DefaultUserServiceTest()
  • Method Details

    • setUp

      public void setUp()
    • testGetUserForID

      public void testGetUserForID()
    • testFindAUser

      public void testFindAUser()
    • testFindNoUser

      public void testFindNoUser()
    • testGetUserByIdAndClassWithNull

      public void testGetUserByIdAndClassWithNull()
    • testGetUserByIdAndEmployeeClassOK

      public void testGetUserByIdAndEmployeeClassOK()
    • testGetUserByIdAndCustomerClassFails

      public void testGetUserByIdAndCustomerClassFails()
    • testIsUserExistingWithNull

      public void testIsUserExistingWithNull() throws Exception
      Throws:
      Exception
    • testIsUserExisting

      public void testIsUserExisting() throws Exception
      Throws:
      Exception
    • testIsUserExistingWhenDecorated

      public void testIsUserExistingWhenDecorated()
    • testIsUserExistingWhenDecoratedWithMultipleUsers

      public void testIsUserExistingWhenDecoratedWithMultipleUsers()
    • testIsNotUserExisting

      public void testIsNotUserExisting() throws Exception
      Throws:
      Exception
    • testGetUserGroupForUID

      public void testGetUserGroupForUID()
    • testGetUserGroupForUIDNotFound

      public void testGetUserGroupForUIDNotFound()
    • testGetUserGroupForUIDWithNull

      public void testGetUserGroupForUIDWithNull()
    • testGetUserGroupForUIDWithType

      public void testGetUserGroupForUIDWithType()
    • testGetUserGroupForUIDWithWrongType

      public void testGetUserGroupForUIDWithWrongType()
    • testGetUserGroupForUIDWithNullType

      public void testGetUserGroupForUIDWithNullType()
    • testGetAdminUserGroup

      public void testGetAdminUserGroup()
    • testGetAdminUserGroupNotFound

      public void testGetAdminUserGroupNotFound()
    • testIsNotMemberOf

      public void testIsNotMemberOf() throws Exception
      Throws:
      Exception
    • testIsNotMemberOfRecursive

      public void testIsNotMemberOfRecursive() throws Exception
      Throws:
      Exception
    • testIsMemberOfWithGroupNull

      public void testIsMemberOfWithGroupNull() throws Exception
      Throws:
      Exception
    • testIsMemberOfWithUserNull

      public void testIsMemberOfWithUserNull() throws Exception
      Throws:
      Exception
    • testIsMemberOf

      public void testIsMemberOf() throws Exception
      Throws:
      Exception
    • testIsMemberOfRecursive

      public void testIsMemberOfRecursive() throws Exception
      Throws:
      Exception
    • testGroupIsMemberOfWithGroupNull

      public void testGroupIsMemberOfWithGroupNull() throws Exception
      Throws:
      Exception
    • testGroupIsNotMemberOf

      public void testGroupIsNotMemberOf() throws Exception
      Throws:
      Exception
    • testGroupIsNotMemberOfRecursive

      public void testGroupIsNotMemberOfRecursive() throws Exception
      Throws:
      Exception
    • testGroupIsMemberOf

      public void testGroupIsMemberOf() throws Exception
      Throws:
      Exception
    • testGroupIsMemberOfRecursive

      public void testGroupIsMemberOfRecursive() throws Exception
      Throws:
      Exception
    • testGetAllUserGroupsForUser

      public void testGetAllUserGroupsForUser() throws Exception
      Throws:
      Exception
    • testGetAllUserGroupsForUserWithType

      public void testGetAllUserGroupsForUserWithType() throws Exception
      Throws:
      Exception
    • testGetAllUserGroupsForUserIsEmpty

      public void testGetAllUserGroupsForUserIsEmpty() throws Exception
      Throws:
      Exception
    • testGetAllUserGroupsForUserWithNull

      public void testGetAllUserGroupsForUserWithNull() throws Exception
      Throws:
      Exception
    • testGetAllUserGroupsForUserWithTypeNull

      public void testGetAllUserGroupsForUserWithTypeNull() throws Exception
      Throws:
      Exception
    • testGetAllUserGroupsForUserWithCycle

      public void testGetAllUserGroupsForUserWithCycle() throws Exception
      Throws:
      Exception
    • testGetAllTitles

      public void testGetAllTitles()
    • testGetTitleForCode

      public void testGetTitleForCode()
    • testGetTitleForWrongCode

      public void testGetTitleForWrongCode()
    • testGetTitleForCodeWithNull

      public void testGetTitleForCodeWithNull()
    • testAdminUser

      public void testAdminUser()
    • testIsNullAdmin

      public void testIsNullAdmin()
    • testIsAdminWithAdmin

      public void testIsAdminWithAdmin() throws Exception
      Throws:
      Exception
    • testIsAdminWithAdminGroup

      public void testIsAdminWithAdminGroup() throws Exception
      Throws:
      Exception
    • testIsAdminWithNull

      public void testIsAdminWithNull() throws Exception
      Throws:
      Exception
    • testAnonymousUser

      public void testAnonymousUser()
    • testGetPassword

      public void testGetPassword()
    • testSetPassword

      public void testSetPassword()