Class PickUpSourcingEndToEndIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class PickUpSourcingEndToEndIntegrationTest extends BaseSourcingIntegrationTest
  • Field Details

  • Constructor Details

    • PickUpSourcingEndToEndIntegrationTest

      public PickUpSourcingEndToEndIntegrationTest()
  • Method Details

    • setup

      public void setup()
    • shouldSource1ProductFromDesignatedPickupLocation

      public void shouldSource1ProductFromDesignatedPickupLocation()
      Given an pickup order with 1 entries:
      entry 1 : {quantity: 3, product: camera}

      Result:
      It should source complete from 1 location, Montreal

    • shouldNotSourceFromMontrealWarehouse_MontrealWarehouseNoPickup

      public void shouldNotSourceFromMontrealWarehouse_MontrealWarehouseNoPickup()
      Given an pickup order with 1 entries:
      entry 1 : {quantity: 3, product: camera}
      The Point of Service has a warehouse containing the inventory, but it doesnot support pickup

      Result:
      It should not source the order

    • shouldSource2ProductFromDesignatedPickupLocation

      public void shouldSource2ProductFromDesignatedPickupLocation()
      Given an pickup order with 2 entries:
      entry 1 : {quantity: 3, product: camera}
      entry 2 : {quantity: 3, product: memoryCard}

      Result:
      It should source complete from 1 location, Montreal