Class PickUpSourcingEndToEndIntegrationTest

    • Field Detail

      • NAME_MONTREAL_DOWNTOWN

        public static final java.lang.String NAME_MONTREAL_DOWNTOWN
        See Also:
        Constant Field Values
    • Constructor Detail

      • PickUpSourcingEndToEndIntegrationTest

        public PickUpSourcingEndToEndIntegrationTest()
    • Method Detail

      • 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