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 for
DefaultCustomerGroupFacade-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbefore()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
CustomerGroupFacadeIntegrationTest
public CustomerGroupFacadeIntegrationTest()
-
-
Method Details
-
before
- Throws:
Exception
-
testCustomerGroupCreated
public void testCustomerGroupCreated() -
testTryCreateCustomerGroupWithDuplicateId
public void testTryCreateCustomerGroupWithDuplicateId() -
testTryCreateCustomerGroupWithEmptyUid
public void testTryCreateCustomerGroupWithEmptyUid() -
testTryCreateCustomerGroupWithEmptyName
public void testTryCreateCustomerGroupWithEmptyName() -
testTryCreateCustomerGroupWhenSuperGroupDoesNotExist
public void testTryCreateCustomerGroupWhenSuperGroupDoesNotExist() -
testAddUserToCustomerGroup
- Throws:
Exception
-
testAddUserToCustomerSubGroup
- Throws:
Exception
-
testAddUserToCustomerSubSubGroup
- Throws:
Exception
-
testTryToAddNotExistingUserToCustomerGroup
public void testTryToAddNotExistingUserToCustomerGroup() -
testTryToAddUserToNotExistingGroup
- Throws:
Exception
-
testTryToAddUserToUserGroupWhichIsNotSubGroupOfCustomerGroup
- Throws:
Exception
-
testRemoveUserFromCustomerGroup
- Throws:
Exception
-
testRemoveUserFromCustomerGroupWhileHeHasNotBeenMemberOfThisGroup
- Throws:
Exception
-
testTryToRemoveUserFromNotCustomerGroup
- Throws:
Exception
-
testGetCustomerGroupForCurrentUser
public void testGetCustomerGroupForCurrentUser() throws UnknownIdentifierException, IllegalArgumentException, DuplicateUidException -
testGetCustomerGroup
public void testGetCustomerGroup() -
testTryToGetSubGroupsOfGroupWhichDoesNotExist
public void testTryToGetSubGroupsOfGroupWhichDoesNotExist() -
testTryToGetSubGroupOfGroupWhichIsNotCustomerGroup
public void testTryToGetSubGroupOfGroupWhichIsNotCustomerGroup() -
testGetCustomerGroupForUser
public void testGetCustomerGroupForUser() throws UnknownIdentifierException, IllegalArgumentException, DuplicateUidException -
testGetAllCustomerGroups
public void testGetAllCustomerGroups()
-