Class DefaultCommerceCheckoutServiceTest
java.lang.Object
de.hybris.platform.commerceservices.order.impl.DefaultCommerceCheckoutServiceTest
JUnit test suite for
DefaultCommerceCheckoutService-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
TEST_PSP
- See Also:
-
TEST_SUBSCRIPTION_ID
- See Also:
-
TEST_CURRENCY_ISO
- See Also:
-
TEST_CUSTOMER_UID
- See Also:
-
-
Constructor Details
-
DefaultCommerceCheckoutServiceTest
public DefaultCommerceCheckoutServiceTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testSetDeliveryAddressNullAddress
public void testSetDeliveryAddressNullAddress() -
testSetDeliveryAddressNullCart
public void testSetDeliveryAddressNullCart() -
testSetDeliveryAddress
public void testSetDeliveryAddress() -
testSetDeliveryAddressAndFlagAsDeliveryAddress
public void testSetDeliveryAddressAndFlagAsDeliveryAddress() -
testSetDeliveryModeNullCart
public void testSetDeliveryModeNullCart() -
testSetDeliveryModeNullDeliveryMode
public void testSetDeliveryModeNullDeliveryMode() -
testSetDeliveryMode
public void testSetDeliveryMode() -
testValidateDeliveryModeNullCart
public void testValidateDeliveryModeNullCart() -
testValidateDeliveryModeInvalid
public void testValidateDeliveryModeInvalid() -
testValidateDeliveryModeValid
public void testValidateDeliveryModeValid() -
testSetPaymentInfoNullCart
public void testSetPaymentInfoNullCart() -
testSetPaymentInfoNullPaymentInfo
public void testSetPaymentInfoNullPaymentInfo() -
testSetPaymentInfo
public void testSetPaymentInfo() -
testAuthorizePaymentNullCart
public void testAuthorizePaymentNullCart() -
testAuthorizePaymentNullPaymentInfo
public void testAuthorizePaymentNullPaymentInfo() -
testAuthorizePaymentNoSubscriptionId
public void testAuthorizePaymentNoSubscriptionId() -
testAuthorizePaymentRejected
public void testAuthorizePaymentRejected() -
testAuthorizePaymentAccepted
public void testAuthorizePaymentAccepted() -
testPlaceOrderNullCart
- Throws:
InvalidCartException
-
testPlaceOrderNotCalculated
- Throws:
InvalidCartException
-
testPlaceOrder
-
testPaymentProvider
public void testPaymentProvider() -
shouldGetShippingCountries
public void shouldGetShippingCountries() -
shouldGetAllCountriesIfNoShippingCountries
public void shouldGetAllCountriesIfNoShippingCountries() -
shouldGetBillingCountries
public void shouldGetBillingCountries() -
shouldGetAllCountriesIfNoBillingCountries
public void shouldGetAllCountriesIfNoBillingCountries() -
shouldGetCountries
public void shouldGetCountries()
-