Class TakePaymentActionTest


  • @UnitTest
    public class TakePaymentActionTest
    extends java.lang.Object
    • Constructor Detail

      • TakePaymentActionTest

        public TakePaymentActionTest()
    • Method Detail

      • setup

        public void setup()
      • shouldOKWhenPaymentCaptureIsAccepted

        public void shouldOKWhenPaymentCaptureIsAccepted()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldNOKWhenPaymentCaptureIsRejected

        public void shouldNOKWhenPaymentCaptureIsRejected()
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldNOKWhenPaymentCaptureIsReview

        public void shouldNOKWhenPaymentCaptureIsReview()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldNOKWhenPaymentCaptureError

        public void shouldNOKWhenPaymentCaptureError()
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldSetOrderStatusToPaymentCapturedWhenCaptureIsAccepted

        public void shouldSetOrderStatusToPaymentCapturedWhenCaptureIsAccepted()
                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsRejected

        public void shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsRejected()
                                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsReview

        public void shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsReview()
                                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsError

        public void shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsError()
                                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception