@IntegrationTest public class AnonymousCheckoutIntegrationTest extends BaseCommerceBaseTest
flexibleSearchServiceimportServicejaloSession| Constructor and Description |
|---|
AnonymousCheckoutIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addItemsToCartBeforeCheckout() |
protected AddressData |
buildDeliveryAddress() |
protected CCPaymentInfoData |
buildPaymentInfo(AddressData billingAddress) |
protected OrderData |
completeCheckoutProcess() |
void |
setUp() |
void |
tearDown() |
void |
testAnonymousCheckout() |
protected void |
verifyAddress(AddressModel addressInUserProfile,
AddressData originalAddress) |
protected void |
verifyOrder(OrderData order,
java.lang.String guestEmail) |
getFlexibleSearchService, getOrderForCode, getProcesses, initMocks, setFlexibleSearchService, waitForProcessToEndcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void testAnonymousCheckout()
throws java.lang.Exception
java.lang.Exceptionprotected void addItemsToCartBeforeCheckout()
protected OrderData completeCheckoutProcess() throws CommerceCartModificationException, InvalidCartException
protected void verifyOrder(OrderData order, java.lang.String guestEmail) throws DuplicateUidException
DuplicateUidExceptionprotected void verifyAddress(AddressModel addressInUserProfile, AddressData originalAddress)
protected AddressData buildDeliveryAddress()
protected CCPaymentInfoData buildPaymentInfo(AddressData billingAddress)
Copyright © 2018 SAP SE. All Rights Reserved.