Class ConsignmentPaymentCapturedDenialStrategyTest
- java.lang.Object
-
- de.hybris.platform.ordercancel.impl.denialstrategies.ConsignmentPaymentCapturedDenialStrategyTest
-
@UnitTest public class ConsignmentPaymentCapturedDenialStrategyTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static ConsignmentStatusCANCELLABLE_CONSIGNMENT_STATUSprotected static ConsignmentStatusNOT_CANCELLABLE_CONSIGNMENT_STATUS
-
Constructor Summary
Constructors Constructor Description ConsignmentPaymentCapturedDenialStrategyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidshouldReturnNotOkWhenAllConsignmentAreNotCancellable()voidshouldReturnOkWhenAllConsignmentAreCancellable()voidshouldReturnOkWhenCapturePaymentOnConsignmentIsNotEnabled()voidshouldReturnOkWhenOneConsignmentIsCancellable()voidshouldReturnOkWhenOrderHasUnallocatedItems()
-
-
-
Field Detail
-
CANCELLABLE_CONSIGNMENT_STATUS
protected static final ConsignmentStatus CANCELLABLE_CONSIGNMENT_STATUS
-
NOT_CANCELLABLE_CONSIGNMENT_STATUS
protected static final ConsignmentStatus NOT_CANCELLABLE_CONSIGNMENT_STATUS
-
-
Method Detail
-
setup
public void setup()
-
shouldReturnOkWhenOrderHasUnallocatedItems
public void shouldReturnOkWhenOrderHasUnallocatedItems()
-
shouldReturnOkWhenOneConsignmentIsCancellable
public void shouldReturnOkWhenOneConsignmentIsCancellable()
-
shouldReturnOkWhenAllConsignmentAreCancellable
public void shouldReturnOkWhenAllConsignmentAreCancellable()
-
shouldReturnNotOkWhenAllConsignmentAreNotCancellable
public void shouldReturnNotOkWhenAllConsignmentAreNotCancellable()
-
shouldReturnOkWhenCapturePaymentOnConsignmentIsNotEnabled
public void shouldReturnOkWhenCapturePaymentOnConsignmentIsNotEnabled()
-
-