@IntegrationTest public class CustomerGroupFacadeIntegrationTest extends ServicelayerTransactionalTest
DefaultCustomerGroupFacadeimportServicejaloSession| Constructor and Description |
|---|
CustomerGroupFacadeIntegrationTest() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void before()
throws java.lang.Exception
java.lang.Exceptionpublic void testCustomerGroupCreated()
public void testTryCreateCustomerGroupWithDuplicateId()
public void testTryCreateCustomerGroupWithEmptyUid()
public void testTryCreateCustomerGroupWithEmptyName()
public void testTryCreateCustomerGroupWhenSuperGroupDoesNotExist()
public void testAddUserToCustomerGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddUserToCustomerSubGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddUserToCustomerSubSubGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testTryToAddNotExistingUserToCustomerGroup()
public void testTryToAddUserToNotExistingGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testTryToAddUserToUserGroupWhichIsNotSubGroupOfCustomerGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoveUserFromCustomerGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemoveUserFromCustomerGroupWhileHeHasNotBeenMemberOfThisGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testTryToRemoveUserFromNotCustomerGroup()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetCustomerGroupForCurrentUser()
throws UnknownIdentifierException,
java.lang.IllegalArgumentException,
DuplicateUidException
UnknownIdentifierExceptionjava.lang.IllegalArgumentExceptionDuplicateUidExceptionpublic void testGetCustomerGroup()
public void testTryToGetSubGroupsOfGroupWhichDoesNotExist()
public void testTryToGetSubGroupOfGroupWhichIsNotCustomerGroup()
public void testGetCustomerGroupForUser()
throws UnknownIdentifierException,
java.lang.IllegalArgumentException,
DuplicateUidException
UnknownIdentifierExceptionjava.lang.IllegalArgumentExceptionDuplicateUidExceptionpublic void testGetAllCustomerGroups()
Copyright © 2018 SAP SE. All Rights Reserved.