Class CustomerGroupFacadeIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.commercefacades.customergroups.CustomerGroupFacadeIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class CustomerGroupFacadeIntegrationTest extends ServicelayerTransactionalTest
Integration tests forDefaultCustomerGroupFacade
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description CustomerGroupFacadeIntegrationTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
before
public void before() throws java.lang.Exception
- Throws:
java.lang.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 java.lang.Exception
- Throws:
java.lang.Exception
-
testAddUserToCustomerSubGroup
public void testAddUserToCustomerSubGroup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testAddUserToCustomerSubSubGroup
public void testAddUserToCustomerSubSubGroup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTryToAddNotExistingUserToCustomerGroup
public void testTryToAddNotExistingUserToCustomerGroup()
-
testTryToAddUserToNotExistingGroup
public void testTryToAddUserToNotExistingGroup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTryToAddUserToUserGroupWhichIsNotSubGroupOfCustomerGroup
public void testTryToAddUserToUserGroupWhichIsNotSubGroupOfCustomerGroup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveUserFromCustomerGroup
public void testRemoveUserFromCustomerGroup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testRemoveUserFromCustomerGroupWhileHeHasNotBeenMemberOfThisGroup
public void testRemoveUserFromCustomerGroupWhileHeHasNotBeenMemberOfThisGroup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testTryToRemoveUserFromNotCustomerGroup
public void testTryToRemoveUserFromNotCustomerGroup() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testGetCustomerGroupForCurrentUser
public void testGetCustomerGroupForCurrentUser() throws UnknownIdentifierException, java.lang.IllegalArgumentException, DuplicateUidException
- Throws:
UnknownIdentifierException
java.lang.IllegalArgumentException
DuplicateUidException
-
testGetCustomerGroup
public void testGetCustomerGroup()
-
testTryToGetSubGroupsOfGroupWhichDoesNotExist
public void testTryToGetSubGroupsOfGroupWhichDoesNotExist()
-
testTryToGetSubGroupOfGroupWhichIsNotCustomerGroup
public void testTryToGetSubGroupOfGroupWhichIsNotCustomerGroup()
-
testGetCustomerGroupForUser
public void testGetCustomerGroupForUser() throws UnknownIdentifierException, java.lang.IllegalArgumentException, DuplicateUidException
- Throws:
UnknownIdentifierException
java.lang.IllegalArgumentException
DuplicateUidException
-
testGetAllCustomerGroups
public void testGetAllCustomerGroups()
-
-