Class DefaultUserServiceTest
- java.lang.Object
-
- de.hybris.platform.servicelayer.user.impl.DefaultUserServiceTest
-
@UnitTest public class DefaultUserServiceTest extends java.lang.Object
Unit tests forDefaultUserService.
-
-
Constructor Summary
Constructors Constructor Description DefaultUserServiceTest()
-
Method Summary
-
-
-
Method Detail
-
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 java.lang.Exception- Throws:
java.lang.Exception
-
testIsUserExisting
public void testIsUserExisting() throws java.lang.Exception- Throws:
java.lang.Exception
-
testIsNotUserExisting
public void testIsNotUserExisting() throws java.lang.Exception- Throws:
java.lang.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 java.lang.Exception- Throws:
java.lang.Exception
-
testIsNotMemberOfRecursive
public void testIsNotMemberOfRecursive() throws java.lang.Exception- Throws:
java.lang.Exception
-
testIsMemberOfWithGroupNull
public void testIsMemberOfWithGroupNull() throws java.lang.Exception- Throws:
java.lang.Exception
-
testIsMemberOfWithUserNull
public void testIsMemberOfWithUserNull() throws java.lang.Exception- Throws:
java.lang.Exception
-
testIsMemberOf
public void testIsMemberOf() throws java.lang.Exception- Throws:
java.lang.Exception
-
testIsMemberOfRecursive
public void testIsMemberOfRecursive() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGroupIsMemberOfWithGroupNull
public void testGroupIsMemberOfWithGroupNull() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGroupIsNotMemberOf
public void testGroupIsNotMemberOf() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGroupIsNotMemberOfRecursive
public void testGroupIsNotMemberOfRecursive() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGroupIsMemberOf
public void testGroupIsMemberOf() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGroupIsMemberOfRecursive
public void testGroupIsMemberOfRecursive() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetAllUserGroupsForUser
public void testGetAllUserGroupsForUser() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetAllUserGroupsForUserWithType
public void testGetAllUserGroupsForUserWithType() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetAllUserGroupsForUserIsEmpty
public void testGetAllUserGroupsForUserIsEmpty() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetAllUserGroupsForUserWithNull
public void testGetAllUserGroupsForUserWithNull() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetAllUserGroupsForUserWithTypeNull
public void testGetAllUserGroupsForUserWithTypeNull() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetAllUserGroupsForUserWithCycle
public void testGetAllUserGroupsForUserWithCycle() throws java.lang.Exception- Throws:
java.lang.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 java.lang.Exception- Throws:
java.lang.Exception
-
testIsAdminWithAdminGroup
public void testIsAdminWithAdminGroup() throws java.lang.Exception- Throws:
java.lang.Exception
-
testIsAdminWithNull
public void testIsAdminWithNull() throws java.lang.Exception- Throws:
java.lang.Exception
-
testAnonymousUser
public void testAnonymousUser()
-
testGetPassword
public void testGetPassword()
-
testSetPassword
public void testSetPassword()
-
-