@IntegrationTest public class DefaultUpdateQuoteFromCartStrategyTest extends ServicelayerTransactionalTest
DefaultUpdateQuoteFromCartStrategy. This needs to be an integration test as
DefaultUpdateQuoteFromCartStrategy.updateQuoteFromCart(CartModel) executes code inside a Transaction.importServicejaloSession| Constructor and Description |
|---|
DefaultUpdateQuoteFromCartStrategyTest() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
createQuoteData() |
void |
setUp() |
void |
shouldNotUpdateQuoteFromCartIfCartIsNotReferencedFromQuote() |
void |
shouldNotUpdateQuoteFromCartIfCartIsNull() |
void |
shouldUpdateQuoteFromCart() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic DefaultUpdateQuoteFromCartStrategyTest()
protected static void createQuoteData()
throws ImpExException
ImpExExceptionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldUpdateQuoteFromCart()
throws InvalidCartException
InvalidCartExceptionpublic void shouldNotUpdateQuoteFromCartIfCartIsNull()
throws InvalidCartException
InvalidCartExceptionpublic void shouldNotUpdateQuoteFromCartIfCartIsNotReferencedFromQuote()
throws InvalidCartException
InvalidCartExceptionCopyright © 2018 SAP SE. All Rights Reserved.