Class DefaultCommerceCheckoutServiceTest

java.lang.Object
de.hybris.platform.commerceservices.order.impl.DefaultCommerceCheckoutServiceTest

@UnitTest public class DefaultCommerceCheckoutServiceTest extends Object
JUnit test suite for DefaultCommerceCheckoutService
  • Field Details

  • Constructor Details

    • DefaultCommerceCheckoutServiceTest

      public DefaultCommerceCheckoutServiceTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      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

      public void testPlaceOrderNullCart() throws InvalidCartException
      Throws:
      InvalidCartException
    • testPlaceOrderNotCalculated

      public void testPlaceOrderNotCalculated() throws InvalidCartException
      Throws:
      InvalidCartException
    • testPlaceOrder

      public void testPlaceOrder() throws InvalidCartException, CalculationException
      Throws:
      InvalidCartException
      CalculationException
    • testPaymentProvider

      public void testPaymentProvider()
    • shouldGetShippingCountries

      public void shouldGetShippingCountries()
    • shouldGetAllCountriesIfNoShippingCountries

      public void shouldGetAllCountriesIfNoShippingCountries()
    • shouldGetBillingCountries

      public void shouldGetBillingCountries()
    • shouldGetAllCountriesIfNoBillingCountries

      public void shouldGetAllCountriesIfNoBillingCountries()
    • shouldGetCountries

      public void shouldGetCountries()