@IntegrationTest public class QuotesProcessIntegrationTest extends BaseCommerceBaseTest
flexibleSearchServiceimportServicejaloSession| Constructor and Description |
|---|
QuotesProcessIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addItemsToCartBeforeCheckout(int numOfProducts) |
protected AddressData |
buildDeliveryAddress() |
protected CCPaymentInfoData |
buildPaymentInfo(AddressData billingAddress) |
protected void |
checkForTargetQuoteState(java.lang.String quoteCode,
QuoteState targetQuoteState) |
protected OrderData |
completeCheckoutProcess() |
protected java.lang.String |
initiateQuoteForBuyer(java.lang.String quoteBuyerId,
int numOfProducts) |
void |
setUp() |
void |
tearDown() |
void |
testBuyerSubmitQuoteWithAutoApproval() |
void |
testBuyerSubmitQuoteWithSellerApprover() |
void |
testBuyerSubmitQuoteWithSellerRejection() |
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 testBuyerSubmitQuoteWithAutoApproval()
throws java.lang.Exception
java.lang.Exceptionpublic void testBuyerSubmitQuoteWithSellerApprover()
throws java.lang.Exception
java.lang.Exceptionpublic void testBuyerSubmitQuoteWithSellerRejection()
throws java.lang.Exception
java.lang.Exceptionprotected void addItemsToCartBeforeCheckout(int numOfProducts)
protected java.lang.String initiateQuoteForBuyer(java.lang.String quoteBuyerId,
int numOfProducts)
protected OrderData completeCheckoutProcess() throws CommerceCartModificationException, InvalidCartException
protected AddressData buildDeliveryAddress()
protected CCPaymentInfoData buildPaymentInfo(AddressData billingAddress)
protected void checkForTargetQuoteState(java.lang.String quoteCode,
QuoteState targetQuoteState)
Copyright © 2018 SAP SE. All Rights Reserved.