@UnitTest public class ConsignmentPaymentCapturedDenialStrategyTest extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static ConsignmentStatus |
CANCELLABLE_CONSIGNMENT_STATUS |
protected static ConsignmentStatus |
NOT_CANCELLABLE_CONSIGNMENT_STATUS |
| Constructor and Description |
|---|
ConsignmentPaymentCapturedDenialStrategyTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
shouldReturnNotOkWhenAllConsignmentAreNotCancellable() |
void |
shouldReturnOkWhenAllConsignmentAreCancellable() |
void |
shouldReturnOkWhenCapturePaymentOnConsignmentIsNotEnabled() |
void |
shouldReturnOkWhenOneConsignmentIsCancellable() |
void |
shouldReturnOkWhenOrderHasUnallocatedItems() |
protected static final ConsignmentStatus CANCELLABLE_CONSIGNMENT_STATUS
protected static final ConsignmentStatus NOT_CANCELLABLE_CONSIGNMENT_STATUS
public ConsignmentPaymentCapturedDenialStrategyTest()
public void setup()
public void shouldReturnOkWhenOrderHasUnallocatedItems()
public void shouldReturnOkWhenOneConsignmentIsCancellable()
public void shouldReturnOkWhenAllConsignmentAreCancellable()
public void shouldReturnNotOkWhenAllConsignmentAreNotCancellable()
public void shouldReturnOkWhenCapturePaymentOnConsignmentIsNotEnabled()
Copyright © 2018 SAP SE. All Rights Reserved.