Class DefaultTravelCommerceStockServiceTest

java.lang.Object
de.hybris.platform.travelservices.stock.impl.DefaultTravelCommerceStockServiceTest

@UnitTest public class DefaultTravelCommerceStockServiceTest extends Object
  • Constructor Details

    • DefaultTravelCommerceStockServiceTest

      public DefaultTravelCommerceStockServiceTest()
  • Method Details

    • testStockLevelForProductAndTransportOfferings

      public void testStockLevelForProductAndTransportOfferings()
      Test Method to stock level for product and transport offerings
    • testStockLevelForEmptyTransportOfferings

      public void testStockLevelForEmptyTransportOfferings()
      Test Method to stock level for product and transport offerings
    • testReserveStockReservationNotEnabled

      public void testReserveStockReservationNotEnabled() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testReleaseStockReservationNotEnabled

      public void testReleaseStockReservationNotEnabled() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testReleaseNotOrderModel

      public void testReleaseNotOrderModel() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testReleaseNoHistory

      public void testReleaseNoHistory() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testReleaseOrderWithHistoryNull

      public void testReleaseOrderWithHistoryNull() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testReleaseWithHistory

      public void testReleaseWithHistory() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testAdjustStockReservationForAmmendmentNotEnabled

      public void testAdjustStockReservationForAmmendmentNotEnabled() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testGetStockForDate

      public void testGetStockForDate()
    • testGetStockForDateForNullStock

      public void testGetStockForDateForNullStock()
    • testGetStockLevelQuantityForNullWarehouses

      public void testGetStockLevelQuantityForNullWarehouses()
    • testGetStockLevelQuantityForNullStocks

      public void testGetStockLevelQuantityForNullStocks()
    • testGetStockLevelQuantity

      public void testGetStockLevelQuantity()
    • testIsStockSystemEnabledForNullBaseStore

      public void testIsStockSystemEnabledForNullBaseStore()
    • testIsStockSystemEnabledForWarehouse

      public void testIsStockSystemEnabledForWarehouse()
    • testIsStockSystemEnabled

      public void testIsStockSystemEnabled()
    • testReservePerDateProductForNullStock

      public void testReservePerDateProductForNullStock() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testReservePerDateProductForQuantityGreaterThanStock

      public void testReservePerDateProductForQuantityGreaterThanStock() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testReservePerDateProductForQuantityLessThanStock

      public void testReservePerDateProductForQuantityLessThanStock() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testReleasePerDateProductForNullStock

      public void testReleasePerDateProductForNullStock() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException
    • testReleasePerDateProduct

      public void testReleasePerDateProduct() throws de.hybris.platform.stock.exception.InsufficientStockLevelException
      Throws:
      de.hybris.platform.stock.exception.InsufficientStockLevelException