@IntegrationTest public class CustomerGroupFacadeIntegrationTest extends ServicelayerTransactionalTest
DefaultCustomerGroupFacadedefaultLanguage, jaloSession| Constructor and Description |
|---|
CustomerGroupFacadeIntegrationTest() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic 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 © 2017 SAP SE. All Rights Reserved.