Class StockLevelsControllersIntegrationTest

    • Constructor Detail

      • StockLevelsControllersIntegrationTest

        public StockLevelsControllersIntegrationTest()
    • Method Detail

      • 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()
      • createStockLevelRequest

        protected StockLevelWsDto createStockLevelRequest​(java.lang.String productCode,
                                                          java.lang.String warehouseCode,
                                                          java.lang.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​(java.lang.String reason,
                                                                            long quantity,
                                                                            java.lang.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​(java.lang.String reason,
                                                                            long quantity)
        Populates a StockLevelAdjustmentWsDTO for a POST call, to add a StockLevel adjustment in the system
        Parameters:
        reason -
        quantity -
        Returns:
        StockLevelAdjustmentWsDTO