Class DefaultB2BCostCenterFacadeIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultB2BCostCenterFacadeIntegrationTest extends ServicelayerTransactionalTest
  • Field Details

  • Constructor Details

    • DefaultB2BCostCenterFacadeIntegrationTest

      public DefaultB2BCostCenterFacadeIntegrationTest()
  • Method Details

    • setUp

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

      protected void setCurrentUser(User user)
    • shouldGetCostCentersAsB2BAdmin

      public void shouldGetCostCentersAsB2BAdmin()
    • shouldGetCostCentersAsB2BCustomer

      public void shouldGetCostCentersAsB2BCustomer()
    • shouldGetActiveCostCentersAsB2BAdmin

      public void shouldGetActiveCostCentersAsB2BAdmin()
    • shouldGetActiveCostCentersAsB2BCustomer

      public void shouldGetActiveCostCentersAsB2BCustomer()
    • shouldGetCostCenterDataForCodeAsB2BAdmin

      public void shouldGetCostCenterDataForCodeAsB2BAdmin()
    • shouldGetCostCenterDataForCodeAsB2BCustomer

      public void shouldGetCostCenterDataForCodeAsB2BCustomer()
    • shouldNotGetCostCenterDataForCodeForNotExistingCodeAsB2BAdmin

      public void shouldNotGetCostCenterDataForCodeForNotExistingCodeAsB2BAdmin()
    • shouldNotGetCostCenterDataForCodeForNotExistingCodeAsB2BCustomer

      public void shouldNotGetCostCenterDataForCodeForNotExistingCodeAsB2BCustomer()
    • shouldNotGetCostCenterDataForCodeFromOtherUnitAsB2BAdmin

      public void shouldNotGetCostCenterDataForCodeFromOtherUnitAsB2BAdmin()
    • shouldNotGetCostCenterDataForCodeFromOtherUnitAsB2BCustomer

      public void shouldNotGetCostCenterDataForCodeFromOtherUnitAsB2BCustomer()
    • shouldSearchAsB2BAdmin

      public void shouldSearchAsB2BAdmin()
    • shouldSearchAsB2BCustomer

      public void shouldSearchAsB2BCustomer()
    • shouldUpdateCostCenterAsB2BAdmin

      public void shouldUpdateCostCenterAsB2BAdmin()
    • shouldNotUpdateCostCenterAsB2BCustomer

      public void shouldNotUpdateCostCenterAsB2BCustomer()
    • shouldNotUpdateCostCenterFromOtherUnitAsB2BAdmin

      public void shouldNotUpdateCostCenterFromOtherUnitAsB2BAdmin()
    • shouldNotUpdateCostCenterFromOtherUnitAsB2BCustomer

      public void shouldNotUpdateCostCenterFromOtherUnitAsB2BCustomer()
    • shouldNotUpdateCostCenterWhenCodeIsNullAsB2BAdmin

      public void shouldNotUpdateCostCenterWhenCodeIsNullAsB2BAdmin()
    • shouldNotUpdateCostCenterWhenCodeIsNullAsB2BCustomer

      public void shouldNotUpdateCostCenterWhenCodeIsNullAsB2BCustomer()
    • shouldAddCostCenterAsB2BAdmin

      public void shouldAddCostCenterAsB2BAdmin()
    • shouldNotAddCostCenterWhenCodeIsNullAsB2BAdmin

      public void shouldNotAddCostCenterWhenCodeIsNullAsB2BAdmin()
    • shouldNotAddCostCenterWhenCodeIsNullAsB2BCustomer

      public void shouldNotAddCostCenterWhenCodeIsNullAsB2BCustomer()
    • shouldEnableDisableCostCenterAsB2BAdmin

      public void shouldEnableDisableCostCenterAsB2BAdmin()
    • shouldNotEnableOrDisableCostCenterAsB2BCustomer

      public void shouldNotEnableOrDisableCostCenterAsB2BCustomer()
    • shouldSelectBudgetForCostCenterAsB2BAdmin

      public void shouldSelectBudgetForCostCenterAsB2BAdmin()
    • shouldSelectBudgetForCostCenterAsB2BCustomer

      public void shouldSelectBudgetForCostCenterAsB2BCustomer()
    • shouldDeSelectBudgetForCostCenterAsB2BCustomer

      public void shouldDeSelectBudgetForCostCenterAsB2BCustomer()
    • shouldDeSelectBudgetForCostCenterAsB2BAdmin

      public void shouldDeSelectBudgetForCostCenterAsB2BAdmin()
    • createB2BCostCenterData

      protected B2BCostCenterData createB2BCostCenterData(String originalCode, String code, String name, String isoCode, B2BUnitData unit)