@IntegrationTest public class DefaultQuoteFacadeDiscountIntegrationTest extends BaseCommerceBaseTest
flexibleSearchServiceimportServicejaloSession| Constructor and Description |
|---|
DefaultQuoteFacadeDiscountIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldApplyDiscount() |
void |
shouldNotApplyQuoteDiscountIfAbsoluteTooBig() |
void |
shouldNotApplyQuoteDiscountIfCartNotCloneFromQuote() |
void |
shouldNotApplyQuoteDiscountIfPercentageTooBig() |
void |
shouldNotApplyQuoteDiscountIfPercentageTooSmall() |
void |
shouldNotRemoveDiscountsIfQuoteInNonBuyerOfferState() |
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 DefaultQuoteFacadeDiscountIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldApplyDiscount()
throws CommerceCartModificationException,
CalculationException
public void shouldNotApplyQuoteDiscountIfCartNotCloneFromQuote()
public void shouldNotApplyQuoteDiscountIfPercentageTooBig()
throws CommerceCartModificationException
public void shouldNotApplyQuoteDiscountIfPercentageTooSmall()
throws CommerceCartModificationException
public void shouldNotApplyQuoteDiscountIfAbsoluteTooBig()
throws CommerceCartModificationException
public void shouldNotRemoveDiscountsIfQuoteInNonBuyerOfferState()
throws CommerceCartModificationException
Copyright © 2018 SAP SE. All Rights Reserved.