Class StockLevelsControllersIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class StockLevelsControllersIntegrationTest extends BaseWarehousingWebservicesIntegrationTest
  • Constructor Details

    • StockLevelsControllersIntegrationTest

      public StockLevelsControllersIntegrationTest()
  • Method Details

    • setup

      public void setup()
      Overrides:
      setup in class BaseWarehousingWebservicesIntegrationTest
    • testGetStockLevelsForWarehouseCode

      public void testGetStockLevelsForWarehouseCode()
    • testPostStockLevel

      public void testPostStockLevel()
    • testPostStockLevelEmptyProductCode

      public void testPostStockLevelEmptyProductCode()
    • testPostStockLevelNegativeInitialOnHandQuantity

      public void testPostStockLevelNegativeInitialOnHandQuantity()
    • testPostStockLevelEmptyWarehouseCode

      public void testPostStockLevelEmptyWarehouseCode()
    • getAllStockLevelAdjustmentReasons

      public void getAllStockLevelAdjustmentReasons()
    • postCreateStockLevelAdjustment

      public void postCreateStockLevelAdjustment()
    • postCreateStockLevelAdjustment_invalid_Reason

      public void postCreateStockLevelAdjustment_invalid_Reason()
    • postCreateStockLevelAdjustment_valid_LowercaseReason

      public void postCreateStockLevelAdjustment_valid_LowercaseReason()
    • postCreateMultiStockLevelAdjustment

      public void postCreateMultiStockLevelAdjustment()
    • postCreateStockLevelAdjustment_WithComment

      public void postCreateStockLevelAdjustment_WithComment()
    • postCreateStockLevelAdjustment_WithBin

      public void postCreateStockLevelAdjustment_WithBin()
    • postCreateStockLevelAdjustment_WithReleaseDate

      public void postCreateStockLevelAdjustment_WithReleaseDate()
    • postCreateStockLevelAdjustment_WithBin_ForAsnNotReceived

      public void postCreateStockLevelAdjustment_WithBin_ForAsnNotReceived()
    • postCreateStockLevelAdjustment_WithBin_ForAsnReceived

      public void postCreateStockLevelAdjustment_WithBin_ForAsnReceived()
    • getStockLevelWithGeneralizedException

      public void getStockLevelWithGeneralizedException()
    • getStockLevelWithUnknownException

      public void getStockLevelWithUnknownException()
    • getStockLevelWithForwardException

      public void getStockLevelWithForwardException()
    • createStockLevelRequest

      protected StockLevelWsDto createStockLevelRequest(String productCode, String warehouseCode, Integer initialQuantityOnHand)
      Populates a StockLevelWsDto for a POST call, to add a StockLevel in the system
      Parameters:
      productCode -
      warehouseCode -
      initialQuantityOnHand -
      Returns:
    • createStockLevelAdjustmentWsDTO

      protected StockLevelAdjustmentWsDTO createStockLevelAdjustmentWsDTO(String reason, long quantity, String comment)
      Populates a StockLevelAdjustmentWsDTO for a POST call, to add a StockLevel adjustment in the system
      Parameters:
      reason -
      quantity -
      comment -
      Returns:
      StockLevelAdjustmentWsDTO
    • createStockLevelAdjustmentWsDTO

      protected StockLevelAdjustmentWsDTO createStockLevelAdjustmentWsDTO(String reason, long quantity)
      Populates a StockLevelAdjustmentWsDTO for a POST call, to add a StockLevel adjustment in the system
      Parameters:
      reason -
      quantity -
      Returns:
      StockLevelAdjustmentWsDTO
    • createStockLevelAdjustmentsWsDTO

      protected StockLevelAdjustmentsWsDTO createStockLevelAdjustmentsWsDTO(StockLevelAdjustmentWsDTO... stockLevelAdjustmentWsDTO)
      Populates a StockLevelAdjustmentsWsDTO for a POST call, to add a list of StockLevelAdjustmentWsDTO
      Parameters:
      stockLevelAdjustmentWsDTO -
      Returns: