Class CustomerGroupFacadeIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class CustomerGroupFacadeIntegrationTest extends ServicelayerTransactionalTest
Integration tests for DefaultCustomerGroupFacade
  • Constructor Details

    • CustomerGroupFacadeIntegrationTest

      public CustomerGroupFacadeIntegrationTest()
  • Method Details

    • before

      public void before() throws Exception
      Throws:
      Exception
    • testCustomerGroupCreated

      public void testCustomerGroupCreated()
    • testTryCreateCustomerGroupWithDuplicateId

      public void testTryCreateCustomerGroupWithDuplicateId()
    • testTryCreateCustomerGroupWithEmptyUid

      public void testTryCreateCustomerGroupWithEmptyUid()
    • testTryCreateCustomerGroupWithEmptyName

      public void testTryCreateCustomerGroupWithEmptyName()
    • testTryCreateCustomerGroupWhenSuperGroupDoesNotExist

      public void testTryCreateCustomerGroupWhenSuperGroupDoesNotExist()
    • testAddUserToCustomerGroup

      public void testAddUserToCustomerGroup() throws Exception
      Throws:
      Exception
    • testAddUserToCustomerSubGroup

      public void testAddUserToCustomerSubGroup() throws Exception
      Throws:
      Exception
    • testAddUserToCustomerSubSubGroup

      public void testAddUserToCustomerSubSubGroup() throws Exception
      Throws:
      Exception
    • testTryToAddNotExistingUserToCustomerGroup

      public void testTryToAddNotExistingUserToCustomerGroup()
    • testTryToAddUserToNotExistingGroup

      public void testTryToAddUserToNotExistingGroup() throws Exception
      Throws:
      Exception
    • testTryToAddUserToUserGroupWhichIsNotSubGroupOfCustomerGroup

      public void testTryToAddUserToUserGroupWhichIsNotSubGroupOfCustomerGroup() throws Exception
      Throws:
      Exception
    • testRemoveUserFromCustomerGroup

      public void testRemoveUserFromCustomerGroup() throws Exception
      Throws:
      Exception
    • testRemoveUserFromCustomerGroupWhileHeHasNotBeenMemberOfThisGroup

      public void testRemoveUserFromCustomerGroupWhileHeHasNotBeenMemberOfThisGroup() throws Exception
      Throws:
      Exception
    • testTryToRemoveUserFromNotCustomerGroup

      public void testTryToRemoveUserFromNotCustomerGroup() throws Exception
      Throws:
      Exception
    • testGetCustomerGroupForCurrentUser

      public void testGetCustomerGroupForCurrentUser() throws UnknownIdentifierException, IllegalArgumentException, DuplicateUidException
      Throws:
      UnknownIdentifierException
      IllegalArgumentException
      DuplicateUidException
    • testGetCustomerGroup

      public void testGetCustomerGroup()
    • testTryToGetSubGroupsOfGroupWhichDoesNotExist

      public void testTryToGetSubGroupsOfGroupWhichDoesNotExist()
    • testTryToGetSubGroupOfGroupWhichIsNotCustomerGroup

      public void testTryToGetSubGroupOfGroupWhichIsNotCustomerGroup()
    • testGetCustomerGroupForUser

      public void testGetCustomerGroupForUser() throws UnknownIdentifierException, IllegalArgumentException, DuplicateUidException
      Throws:
      UnknownIdentifierException
      IllegalArgumentException
      DuplicateUidException
    • testGetAllCustomerGroups

      public void testGetAllCustomerGroups()