Class OrderCancelCompleteTest

    • Constructor Detail

      • OrderCancelCompleteTest

        public OrderCancelCompleteTest()
    • Method Detail

      • testExceptionOnCompleteCancelImpossible

        public void testExceptionOnCompleteCancelImpossible()
                                                     throws OrderCancelException
        Exception should be throws when issuing a complete cancel request when cancel is not possible.
        Throws:
        OrderCancelException
      • testExceptionOnPartialCancelImpossible

        public void testExceptionOnPartialCancelImpossible()
                                                    throws OrderCancelException
        Exception should be throws when issuing a partial cancel request when cancel is not possible.
        Throws:
        OrderCancelException
      • testWarehouseResponseCancelDenied

        public void testWarehouseResponseCancelDenied()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testWarehouseResponsePartialCancelOK

        public void testWarehouseResponsePartialCancelOK()
                                                  throws java.lang.Exception
        This test case tests scenario when FULL order cancel was requested, however warehouse performed PARTIAL cancel - due to some internal issues (partial shipment already done?)
        Throws:
        java.lang.Exception