Package de.hybris.platform.b2b.company
Class B2BCommerceUnitServiceIntegrationTest
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.b2b.company.B2BCommerceUnitServiceIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class B2BCommerceUnitServiceIntegrationTest
extends ServicelayerTransactionalTest
-
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 TypeMethodDescriptionvoidsetup()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
B2BCommerceUnitServiceIntegrationTest
public B2BCommerceUnitServiceIntegrationTest()
-
-
Method Details
-
setup
- Throws:
Exception
-
shouldGetUnitAsCustomer
public void shouldGetUnitAsCustomer() -
shouldNotGetUnitWhenNotAssignedAsCustomer
public void shouldNotGetUnitWhenNotAssignedAsCustomer() -
shouldGetUnitAsB2BAdmin
public void shouldGetUnitAsB2BAdmin() -
shouldNotGetUnitAsB2BAdminWhenNotAssignedToUnit
public void shouldNotGetUnitAsB2BAdminWhenNotAssignedToUnit() -
shouldGetOrganizationAsCustomer
public void shouldGetOrganizationAsCustomer() -
shouldGetOrganizationAsB2BAdmin
public void shouldGetOrganizationAsB2BAdmin() -
shouldGetBranchAsCustomer
public void shouldGetBranchAsCustomer() -
shouldGetBranchAsB2BAdmin
public void shouldGetBranchAsB2BAdmin() -
shouldGetRootUnitAsCustomer
public void shouldGetRootUnitAsCustomer() -
shouldGetRootUnitAsB2BAdmin
public void shouldGetRootUnitAsB2BAdmin() -
shouldGetParentUnitAsCustomer
public void shouldGetParentUnitAsCustomer() -
shouldGetParentUnitAsB2BAdmin
public void shouldGetParentUnitAsB2BAdmin() -
shouldGetAllUnitsOfOrganizationAsCustomer
public void shouldGetAllUnitsOfOrganizationAsCustomer() -
shouldGetAllUnitsOfOrganizationAsB2BAdmin
public void shouldGetAllUnitsOfOrganizationAsB2BAdmin() -
shouldGetAllowedParentUnitsAsCustomer
public void shouldGetAllowedParentUnitsAsCustomer() -
shouldGetAllowedParentUnitsAsB2BAdmin
public void shouldGetAllowedParentUnitsAsB2BAdmin() -
shouldSetParentUnitAsCustomer
public void shouldSetParentUnitAsCustomer() -
shouldSetParentUnitAsB2BAdmin
public void shouldSetParentUnitAsB2BAdmin() -
shouldNotGetAllowedParentUnitsWithNullAsUnit
public void shouldNotGetAllowedParentUnitsWithNullAsUnit() -
shouldNotEnableUnitAsCustomer
public void shouldNotEnableUnitAsCustomer() -
shouldDisableOrEnableUnitAsB2BAdmin
public void shouldDisableOrEnableUnitAsB2BAdmin() -
shouldNotDisableOrEnableUnitAsCustomerForDifferentUnit
public void shouldNotDisableOrEnableUnitAsCustomerForDifferentUnit() -
shouldNotDisableOrEnableUnitAsB2BAdminForDifferentUnit
public void shouldNotDisableOrEnableUnitAsB2BAdminForDifferentUnit()
-