Class DefaultB2BUnitFacadeIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultB2BUnitFacadeIntegrationTest extends ServicelayerTransactionalTest
Integration tests for DefaultB2BUnitFacade.
  • Field Details

  • Constructor Details

    • DefaultB2BUnitFacadeIntegrationTest

      public DefaultB2BUnitFacadeIntegrationTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • setCurrentUser

      protected void setCurrentUser(User user)
    • shouldGetPagedCustomersForUnitAsB2BAdmin

      public void shouldGetPagedCustomersForUnitAsB2BAdmin()
    • shouldNotGetPagedCustomersForUnitAsB2BCustomer

      public void shouldNotGetPagedCustomersForUnitAsB2BCustomer()
    • shouldNotGetPagedCustomersForUnitFromDifferentUnitAsB2BAdmin

      public void shouldNotGetPagedCustomersForUnitFromDifferentUnitAsB2BAdmin()
    • shouldNotGetPagedCustomersForUnitFromDifferentUnitAsB2BCustomer

      public void shouldNotGetPagedCustomersForUnitFromDifferentUnitAsB2BCustomer()
    • shouldNotGetPagedCustomersForUnitNullUidAsB2BAdmin

      public void shouldNotGetPagedCustomersForUnitNullUidAsB2BAdmin()
    • shouldNotGetPagedCustomersForUnitNullUidAsB2BCustomer

      public void shouldNotGetPagedCustomersForUnitNullUidAsB2BCustomer()
    • shouldGetPagedAdministratorsForUnitAsB2BAdmin

      public void shouldGetPagedAdministratorsForUnitAsB2BAdmin()
    • shouldNotGetPagedAdministratorsForUnitAsB2BCustomer

      public void shouldNotGetPagedAdministratorsForUnitAsB2BCustomer()
    • shouldNotGetPagedAdministratorsForUnitFromDifferentUnitAsB2BAdmin

      public void shouldNotGetPagedAdministratorsForUnitFromDifferentUnitAsB2BAdmin()
    • shouldNotGetPagedAdministratorsForUnitFromDifferentUnitAsB2BCustomer

      public void shouldNotGetPagedAdministratorsForUnitFromDifferentUnitAsB2BCustomer()
    • shouldNotGetPagedAdministratorsForUnitNullUidAsB2BAdmin

      public void shouldNotGetPagedAdministratorsForUnitNullUidAsB2BAdmin()
    • shouldNotGetPagedAdministratorsForUnitNullUidAsB2BCustomer

      public void shouldNotGetPagedAdministratorsForUnitNullUidAsB2BCustomer()
    • shouldGetPagedManagersForUnitAsB2BAdmin

      public void shouldGetPagedManagersForUnitAsB2BAdmin()
    • shouldNotGetPagedManagersForUnitAsB2BCustomer

      public void shouldNotGetPagedManagersForUnitAsB2BCustomer()
    • shouldNotGetPagedManagersForUnitFromDifferentUnitAsB2BAdmin

      public void shouldNotGetPagedManagersForUnitFromDifferentUnitAsB2BAdmin()
    • shouldNotGetPagedManagersForUnitFromDifferentUnitAsB2BCustomer

      public void shouldNotGetPagedManagersForUnitFromDifferentUnitAsB2BCustomer()
    • shouldNotGetPagedManagersForUnitNullUidAsB2BAdmin

      public void shouldNotGetPagedManagersForUnitNullUidAsB2BAdmin()
    • shouldNotGetPagedManagersForUnitNullUidAsB2BCustomer

      public void shouldNotGetPagedManagersForUnitNullUidAsB2BCustomer()
    • shouldDisableAndEnableUnitAsB2BAdmin

      public void shouldDisableAndEnableUnitAsB2BAdmin()
    • shouldNotDisableOrEnableUnitAsB2BCustomer

      public void shouldNotDisableOrEnableUnitAsB2BCustomer()
    • shouldNotDisableUnitNullUidAsB2BAdmin

      public void shouldNotDisableUnitNullUidAsB2BAdmin()
    • shouldNotDisableUnitNullUidAsB2BCustomer

      public void shouldNotDisableUnitNullUidAsB2BCustomer()
    • shouldNotEnableUnitNullUidAsB2BAdmin

      public void shouldNotEnableUnitNullUidAsB2BAdmin()
    • shouldNotEnableUnitNullUidAsB2BCustomer

      public void shouldNotEnableUnitNullUidAsB2BCustomer()
    • shouldGetAllowedParentUnitsAsB2BAdmin

      public void shouldGetAllowedParentUnitsAsB2BAdmin()
    • shouldNotGetAllowedParentUnitsAsB2BCustomer

      public void shouldNotGetAllowedParentUnitsAsB2BCustomer()
    • shouldGetAllActiveUnitsOfOrganizationAsB2BAdmin

      public void shouldGetAllActiveUnitsOfOrganizationAsB2BAdmin()
    • shouldGetAllActiveUnitsOfOrganizationAsB2BCustomer

      public void shouldGetAllActiveUnitsOfOrganizationAsB2BCustomer()
    • shouldGetPagedUserDataForUnitAsB2BAdmin

      public void shouldGetPagedUserDataForUnitAsB2BAdmin()
    • shouldNotGetPagedUserDataForUnitAsB2BCustomer

      public void shouldNotGetPagedUserDataForUnitAsB2BCustomer()
    • shouldAddAddressToUnitAsB2BAdmin

      public void shouldAddAddressToUnitAsB2BAdmin()
    • testAddAddressToUnitAsB2BCustomer

      public void testAddAddressToUnitAsB2BCustomer()
    • shouldRemoveAddressFromUnitAsB2BAdmin

      public void shouldRemoveAddressFromUnitAsB2BAdmin()
    • shouldNotRemoveAddressFromUnitAsB2BCustomer

      public void shouldNotRemoveAddressFromUnitAsB2BCustomer()
    • shouldNotRemoveAddressFromUnitNullUnitUidAsB2BAdmin

      public void shouldNotRemoveAddressFromUnitNullUnitUidAsB2BAdmin()
    • shouldNotRemoveAddressFromUnitNullUnitUidAsB2BCustomer

      public void shouldNotRemoveAddressFromUnitNullUnitUidAsB2BCustomer()
    • shouldNotRemoveAddressFromUnitNullAddressIdAsB2BAdmin

      public void shouldNotRemoveAddressFromUnitNullAddressIdAsB2BAdmin()
    • shouldNotRemoveAddressFromUnitNullAddressIdAsB2BCustomer

      public void shouldNotRemoveAddressFromUnitNullAddressIdAsB2BCustomer()
    • shouldEditAddressOfUnitAsB2BAdmin

      public void shouldEditAddressOfUnitAsB2BAdmin()
    • shouldNotEditAddressOfUnitAsB2BCustomer

      public void shouldNotEditAddressOfUnitAsB2BCustomer()
    • shouldEditAddressOfUnitFromDifferentUnitAsB2BAdmin

      public void shouldEditAddressOfUnitFromDifferentUnitAsB2BAdmin()
    • shouldNotEditAddressOfUnitFromDifferentUnitAsB2BCustomer

      public void shouldNotEditAddressOfUnitFromDifferentUnitAsB2BCustomer()
    • shouldNotEditAddressOfUnitNullAddressAsB2BAdmin

      public void shouldNotEditAddressOfUnitNullAddressAsB2BAdmin()
    • shouldNotEditAddressOfUnitNullAddressAsB2BCustomer

      public void shouldNotEditAddressOfUnitNullAddressAsB2BCustomer()
    • shouldNotEditAddressOfUnitNullUnitUidAsB2BAdmin

      public void shouldNotEditAddressOfUnitNullUnitUidAsB2BAdmin()
    • shouldNotEditAddressOfUnitNullUnitUidAsB2BCustomer

      public void shouldNotEditAddressOfUnitNullUnitUidAsB2BCustomer()
    • shouldUpdateOrCreateBusinessUnitAsB2BAdmin

      public void shouldUpdateOrCreateBusinessUnitAsB2BAdmin() throws ImpExException
      Throws:
      ImpExException
    • shouldNotUpdateOrCreateBusinessUnitAsB2BCustomer

      public void shouldNotUpdateOrCreateBusinessUnitAsB2BCustomer() throws ImpExException
      Throws:
      ImpExException
    • testUpdateOrCreateBusinessUnitWithSkipPathGenerationAsB2BAdmin

      public void testUpdateOrCreateBusinessUnitWithSkipPathGenerationAsB2BAdmin()
    • shouldGetParentUnitAsB2BAdmin

      public void shouldGetParentUnitAsB2BAdmin()
    • shouldGetParentUnitAsB2BCustomer

      public void shouldGetParentUnitAsB2BCustomer()
    • shouldGetParentUniNodeAsB2BAdmin

      public void shouldGetParentUniNodeAsB2BAdmin()
    • shouldGetParentUniNodeAsB2BCustomer

      public void shouldGetParentUniNodeAsB2BCustomer()
    • getUnitForUid

      protected OrgUnitModel getUnitForUid(String uid)