Class DefaultB2BUserFacadeIntegrationTest
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.b2bcommercefacades.company.impl.DefaultB2BUserFacadeIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class DefaultB2BUserFacadeIntegrationTest
extends ServicelayerTransactionalTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected Userprotected UserFields 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 TypeMethodDescriptionprotected voidsetCurrentUser(User user) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
Field Details
-
B2B_ADMIN_USER
- See Also:
-
B2B_CUSTOMER_USER
- See Also:
-
b2bAdminUser
-
b2bCustomerUser
-
-
Constructor Details
-
DefaultB2BUserFacadeIntegrationTest
public DefaultB2BUserFacadeIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
setCurrentUser
-
shouldGetPagedCustomersAsB2BAdmin
public void shouldGetPagedCustomersAsB2BAdmin() -
shouldNotGetPagedCustomersAsB2BCustomer
public void shouldNotGetPagedCustomersAsB2BCustomer() -
shouldGetParentUnitForCustomerAsB2BAdmin
public void shouldGetParentUnitForCustomerAsB2BAdmin() -
shouldNotGetParentUnitForCustomerAsB2BCustomer
public void shouldNotGetParentUnitForCustomerAsB2BCustomer() -
shouldNotGetParentUnitForNullCustomerAsB2BAdmin
public void shouldNotGetParentUnitForNullCustomerAsB2BAdmin() -
shouldNotGetParentUnitForNullCustomerAsB2BCustomer
public void shouldNotGetParentUnitForNullCustomerAsB2BCustomer() -
shouldUpdateCustomerUpdateExistingCustomerAsB2BAdmin
public void shouldUpdateCustomerUpdateExistingCustomerAsB2BAdmin() -
shouldNotUpdateCustomerUpdateExistingCustomerAsB2BCustomer
public void shouldNotUpdateCustomerUpdateExistingCustomerAsB2BCustomer() -
shouldUpdateCustomerCreateNewCustomerAsB2BAdmin
public void shouldUpdateCustomerCreateNewCustomerAsB2BAdmin() -
shouldNotUpdateCustomerCreateNewCustomerAsB2BCustomer
public void shouldNotUpdateCustomerCreateNewCustomerAsB2BCustomer() -
shouldUpdateCustomerTitleCodeNullAsB2BAdmin
public void shouldUpdateCustomerTitleCodeNullAsB2BAdmin() -
shouldNotUpdateCustomerTitleCodeNullAsB2BCustomer
public void shouldNotUpdateCustomerTitleCodeNullAsB2BCustomer() -
shouldNotUpdateCustomerCustomerDataNullAsB2BAdmin
public void shouldNotUpdateCustomerCustomerDataNullAsB2BAdmin() -
shouldNotUpdateCustomerCustomerDataNullAsB2BCustomer
public void shouldNotUpdateCustomerCustomerDataNullAsB2BCustomer() -
shouldNotUpdateCustomerFirstNameEmptyAsB2BAdmin
public void shouldNotUpdateCustomerFirstNameEmptyAsB2BAdmin() -
shouldNotUpdateCustomerFirstNameEmptyAsB2BCustomer
public void shouldNotUpdateCustomerFirstNameEmptyAsB2BCustomer() -
shouldNotUpdateCustomerLastNameEmptyAsB2BAdmin
public void shouldNotUpdateCustomerLastNameEmptyAsB2BAdmin() -
shouldNotUpdateCustomerLastNameEmptyAsB2BCustomer
public void shouldNotUpdateCustomerLastNameEmptyAsB2BCustomer() -
shouldResetCustomerPasswordAsB2BAdmin
public void shouldResetCustomerPasswordAsB2BAdmin() -
shouldResetCustomerPasswordAsB2BCustomer
public void shouldResetCustomerPasswordAsB2BCustomer() -
shouldNotResetCustomerPasswordAsB2BAdmin
public void shouldNotResetCustomerPasswordAsB2BAdmin() -
shouldNotResetCustomerPasswordAsB2BCustomer
public void shouldNotResetCustomerPasswordAsB2BCustomer() -
shouldNotResetCustomerPassword2AsB2BAdmin
public void shouldNotResetCustomerPassword2AsB2BAdmin() -
shouldNotResetCustomerPassword2AsB2BCustomer
public void shouldNotResetCustomerPassword2AsB2BCustomer() -
shouldDisableEnableCustomerAsB2BAdmin
public void shouldDisableEnableCustomerAsB2BAdmin() -
shouldNotDisableOrEnableCustomerAsB2BCustomer
public void shouldNotDisableOrEnableCustomerAsB2BCustomer() -
shouldNotDisableCustomerAsB2BAdmin
public void shouldNotDisableCustomerAsB2BAdmin() -
shouldNotDisableCustomerAsB2BCustomer
public void shouldNotDisableCustomerAsB2BCustomer() -
shouldNotDisableCustomerWithEmptyCustomerUidAsB2BAdmin
public void shouldNotDisableCustomerWithEmptyCustomerUidAsB2BAdmin() -
shouldNotDisableCustomerWithEmptyCustomerUidAsB2BCustomer
public void shouldNotDisableCustomerWithEmptyCustomerUidAsB2BCustomer() -
shouldNotEnableCustomerAsB2BAdmin
public void shouldNotEnableCustomerAsB2BAdmin() -
shouldNotEnableCustomerAsB2BCustomer
public void shouldNotEnableCustomerAsB2BCustomer() -
shouldNotEnableCustomerWithEmptyCustomerUidAsB2BAdmin
public void shouldNotEnableCustomerWithEmptyCustomerUidAsB2BAdmin() -
shouldNotEnableCustomerWithEmptyCustomerUidAsB2BCustomer
public void shouldNotEnableCustomerWithEmptyCustomerUidAsB2BCustomer() -
shouldAddAndRemoveUserRoleAsB2BAdmin
public void shouldAddAndRemoveUserRoleAsB2BAdmin() -
shouldNotAddOrRemoveUserRoleAsB2BCustomer
public void shouldNotAddOrRemoveUserRoleAsB2BCustomer() -
shouldNotAddUserRoleCustomerUidNullAsB2BAdmin
public void shouldNotAddUserRoleCustomerUidNullAsB2BAdmin() -
shouldNotAddUserRoleCustomerUidNullAsB2BCustomer
public void shouldNotAddUserRoleCustomerUidNullAsB2BCustomer() -
shouldNotAddUserRoleRoleUidNullAsB2BAdmin
public void shouldNotAddUserRoleRoleUidNullAsB2BAdmin() -
shouldNotAddUserRoleRoleUidNullAsB2BCustomer
public void shouldNotAddUserRoleRoleUidNullAsB2BCustomer() -
shouldNotAddUserRoleWithEmptyCustomerUidAsB2BAdmin
public void shouldNotAddUserRoleWithEmptyCustomerUidAsB2BAdmin() -
shouldNotAddUserRoleWithEmptyCustomerUidAsB2BCustomer
public void shouldNotAddUserRoleWithEmptyCustomerUidAsB2BCustomer() -
shouldNotRemoveUserRoleCustomerUidNullAsB2BAdmin
public void shouldNotRemoveUserRoleCustomerUidNullAsB2BAdmin() -
shouldNotRemoveUserRoleCustomerUidNullAsB2BCustomer
public void shouldNotRemoveUserRoleCustomerUidNullAsB2BCustomer() -
shouldNotRemoveUserRoleRoleUidNullAsB2BAdmin
public void shouldNotRemoveUserRoleRoleUidNullAsB2BAdmin() -
shouldNotRemoveUserRoleRoleUidNullAsB2BCustomer
public void shouldNotRemoveUserRoleRoleUidNullAsB2BCustomer() -
shouldNotRemoveUserRoleWithEmptyCustomerUidAsB2BAdmin
public void shouldNotRemoveUserRoleWithEmptyCustomerUidAsB2BAdmin() -
shouldNotRemoveUserRoleWithEmptyCustomerUidAsB2BCustomer
public void shouldNotRemoveUserRoleWithEmptyCustomerUidAsB2BCustomer() -
shouldGetPagedB2BUserGroupsForCustomerAsB2BAdmin
public void shouldGetPagedB2BUserGroupsForCustomerAsB2BAdmin() -
shouldNotGetPagedB2BUserGroupsForCustomerAsB2BCustomer
public void shouldNotGetPagedB2BUserGroupsForCustomerAsB2BCustomer() -
shouldNotGetPagedB2BUserGroupsForNullCustomerAsB2BAdmin
public void shouldNotGetPagedB2BUserGroupsForNullCustomerAsB2BAdmin() -
shouldNotGetPagedB2BUserGroupsForNullCustomerAsB2BCustomer
public void shouldNotGetPagedB2BUserGroupsForNullCustomerAsB2BCustomer() -
shouldNotGetPagedB2BUserGroupsForCustomerWithEmptyCustomerUidAsB2BAdmin
public void shouldNotGetPagedB2BUserGroupsForCustomerWithEmptyCustomerUidAsB2BAdmin() -
shouldNotGetPagedB2BUserGroupsForCustomerWithEmptyCustomerUidAsB2BCustomer
public void shouldNotGetPagedB2BUserGroupsForCustomerWithEmptyCustomerUidAsB2BCustomer() -
shouldAddB2BUserGroupToCustomerAndRemoveB2BUserGroupFromCustomerGroupsAsB2BAdmin
public void shouldAddB2BUserGroupToCustomerAndRemoveB2BUserGroupFromCustomerGroupsAsB2BAdmin() -
shouldNotAddB2BUserGroupToCustomerOrRemoveB2BUserGroupFromCustomerGroupsAsB2BCustomer
public void shouldNotAddB2BUserGroupToCustomerOrRemoveB2BUserGroupFromCustomerGroupsAsB2BCustomer() -
shouldNotAddB2BUserGroupToCustomerNullCustomerUidAsB2BAdmin
public void shouldNotAddB2BUserGroupToCustomerNullCustomerUidAsB2BAdmin() -
shouldNotAddB2BUserGroupToCustomerNullCustomerUidAsB2BCustomer
public void shouldNotAddB2BUserGroupToCustomerNullCustomerUidAsB2BCustomer() -
shouldNotAddB2BUserGroupToCustomerNullUserGroupUidAsB2BAdmin
public void shouldNotAddB2BUserGroupToCustomerNullUserGroupUidAsB2BAdmin() -
shouldNotAddB2BUserGroupToCustomerNullUserGroupUidAsB2BCustomer
public void shouldNotAddB2BUserGroupToCustomerNullUserGroupUidAsB2BCustomer() -
shouldNotAddB2BUserGroupToCustomerWithEmptyCustomerUidAsB2BAdmin
public void shouldNotAddB2BUserGroupToCustomerWithEmptyCustomerUidAsB2BAdmin() -
shouldNotAddB2BUserGroupToCustomerWithEmptyCustomerUidAsB2BCustomer
public void shouldNotAddB2BUserGroupToCustomerWithEmptyCustomerUidAsB2BCustomer() -
shouldNotRemoveB2BUserGroupFromCustomerGroupsNullCustomerUidAsB2BAdmin
public void shouldNotRemoveB2BUserGroupFromCustomerGroupsNullCustomerUidAsB2BAdmin() -
shouldNotRemoveB2BUserGroupFromCustomerGroupsNullCustomerUidAsB2BCustomer
public void shouldNotRemoveB2BUserGroupFromCustomerGroupsNullCustomerUidAsB2BCustomer() -
shouldNotRemoveB2BUserGroupFromCustomerGroupsNullUserGroupUidAsB2BAdmin
public void shouldNotRemoveB2BUserGroupFromCustomerGroupsNullUserGroupUidAsB2BAdmin() -
shouldNotRemoveB2BUserGroupFromCustomerGroupsNullUserGroupUidAsB2BCustomer
public void shouldNotRemoveB2BUserGroupFromCustomerGroupsNullUserGroupUidAsB2BCustomer() -
shouldNotRemoveB2BUserGroupFromCustomerGroupsWithEmptyCustomerUidAsB2BAdmin
public void shouldNotRemoveB2BUserGroupFromCustomerGroupsWithEmptyCustomerUidAsB2BAdmin() -
shouldNotRemoveB2BUserGroupFromCustomerGroupsWithEmptyCustomerUidAsB2BCustomer
public void shouldNotRemoveB2BUserGroupFromCustomerGroupsWithEmptyCustomerUidAsB2BCustomer() -
shouldDeselectB2BUserGroupFromCustomerAsB2BAdmin
public void shouldDeselectB2BUserGroupFromCustomerAsB2BAdmin() -
shouldNotDeselectB2BUserGroupFromCustomerAsB2BCustomer
public void shouldNotDeselectB2BUserGroupFromCustomerAsB2BCustomer() -
shouldNotDeselectB2BUserGroupFromCustomerNullAsB2BAdmin
public void shouldNotDeselectB2BUserGroupFromCustomerNullAsB2BAdmin() -
shouldNotDeselectB2BUserGroupFromCustomerNullAsB2BCustomer
public void shouldNotDeselectB2BUserGroupFromCustomerNullAsB2BCustomer() -
shouldNotDeselectB2BUserGroupFromCustomerWithEmptyCustomerUidAsB2BAdmin
public void shouldNotDeselectB2BUserGroupFromCustomerWithEmptyCustomerUidAsB2BAdmin() -
shouldNotDeselectB2BUserGroupFromCustomerWithEmptyCustomerUidAsB2BCustomer
public void shouldNotDeselectB2BUserGroupFromCustomerWithEmptyCustomerUidAsB2BCustomer() -
shouldGetCustomerForUidAsB2BAdmin
public void shouldGetCustomerForUidAsB2BAdmin() -
shouldNotGetCustomerForUidAsB2BCustomer
public void shouldNotGetCustomerForUidAsB2BCustomer() -
shouldNotGetCustomerForUidNullAsB2BAdmin
public void shouldNotGetCustomerForUidNullAsB2BAdmin() -
shouldNotGetCustomerForUidNullAsB2Customer
public void shouldNotGetCustomerForUidNullAsB2Customer() -
shouldNotGetCustomerForUidWithEmptyCustomerUidAsB2BAdmin
public void shouldNotGetCustomerForUidWithEmptyCustomerUidAsB2BAdmin() -
shouldNotGetCustomerForUidWithEmptyCustomerUidAsB2Customer
public void shouldNotGetCustomerForUidWithEmptyCustomerUidAsB2Customer()
-