Class B2BCommerceUnitServiceIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class B2BCommerceUnitServiceIntegrationTest extends ServicelayerTransactionalTest
  • Constructor Details

    • B2BCommerceUnitServiceIntegrationTest

      public B2BCommerceUnitServiceIntegrationTest()
  • Method Details

    • setup

      public void setup() throws Exception
      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()