java.lang.Object
de.hybris.platform.yacceleratorordermanagement.actions.order.payment.TakePaymentActionTest

@UnitTest public class TakePaymentActionTest extends Object
  • Constructor Details

    • TakePaymentActionTest

      public TakePaymentActionTest()
  • Method Details

    • setup

      public void setup()
    • shouldOKWhenPaymentCaptureIsAccepted

      public void shouldOKWhenPaymentCaptureIsAccepted() throws Exception
      Throws:
      Exception
    • shouldNOKWhenPaymentCaptureIsRejected

      public void shouldNOKWhenPaymentCaptureIsRejected() throws Exception
      Throws:
      Exception
    • shouldNOKWhenPaymentCaptureIsReview

      public void shouldNOKWhenPaymentCaptureIsReview() throws Exception
      Throws:
      Exception
    • shouldNOKWhenPaymentCaptureError

      public void shouldNOKWhenPaymentCaptureError() throws Exception
      Throws:
      Exception
    • shouldSetOrderStatusToPaymentCapturedWhenCaptureIsAccepted

      public void shouldSetOrderStatusToPaymentCapturedWhenCaptureIsAccepted() throws Exception
      Throws:
      Exception
    • shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsRejected

      public void shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsRejected() throws Exception
      Throws:
      Exception
    • shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsReview

      public void shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsReview() throws Exception
      Throws:
      Exception
    • shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsError

      public void shouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsError() throws Exception
      Throws:
      Exception