Class TakePaymentActionTest
- java.lang.Object
-
- de.hybris.platform.yacceleratorordermanagement.actions.order.payment.TakePaymentActionTest
-
@UnitTest public class TakePaymentActionTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TakePaymentActionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidshouldNOKWhenPaymentCaptureError()voidshouldNOKWhenPaymentCaptureIsRejected()voidshouldNOKWhenPaymentCaptureIsReview()voidshouldOKWhenPaymentCaptureIsAccepted()voidshouldSetOrderStatusToPaymentCapturedWhenCaptureIsAccepted()voidshouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsError()voidshouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsRejected()voidshouldSetOrderStatusToPaymentNotCapturedWhenCaptureIsReview()
-
-
-
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
-
-