@IntegrationTest public class DefaultQuoteFacadeSellerPerspectiveIntegrationTest extends BaseCommerceBaseTest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SESSION_CART_PARAMETER_NAME |
flexibleSearchServiceimportServicejaloSession| Constructor and Description |
|---|
DefaultQuoteFacadeSellerPerspectiveIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected PageableData |
createPageableData() |
protected QuoteData |
createQuoteFromSessionCart() |
protected QuoteModel |
createSampleQuote(java.lang.String quoteCode,
QuoteState state) |
protected QuoteModel |
createSampleQuote(java.lang.String quoteCode,
QuoteState state,
java.lang.Integer version) |
protected QuoteData |
getQuoteByCode(java.lang.String quoteCode) |
void |
restore() |
void |
setUp() |
void |
shouldInitiateQuote() |
void |
shouldLoadSellerDraftQuoteInCart() |
void |
shouldNotCreateCartForInexistentQuote() |
void |
shouldNotSaveQuoteInInvalidState() |
void |
shouldNotSubmitAlreadySubmittedQuote() |
void |
shouldSellerGetPagedQuotes() |
void |
shouldShowMultipleVersionsOnlyOnce() |
void |
shouldSubmitQuoteChangeStatus() |
void |
shouldUpdateQuantitiesOnSaveQuote() |
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 static final java.lang.String SESSION_CART_PARAMETER_NAME
public DefaultQuoteFacadeSellerPerspectiveIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void restore()
protected QuoteData createQuoteFromSessionCart()
protected PageableData createPageableData()
protected QuoteModel createSampleQuote(java.lang.String quoteCode, QuoteState state)
protected QuoteModel createSampleQuote(java.lang.String quoteCode, QuoteState state, java.lang.Integer version)
protected QuoteData getQuoteByCode(java.lang.String quoteCode)
public void shouldInitiateQuote()
public void shouldNotCreateCartForInexistentQuote()
public void shouldLoadSellerDraftQuoteInCart()
throws CommerceSaveCartException,
CommerceQuoteAssignmentException
public void shouldSellerGetPagedQuotes()
public void shouldShowMultipleVersionsOnlyOnce()
public void shouldSubmitQuoteChangeStatus()
throws CommerceSaveCartException,
CommerceQuoteAssignmentException
public void shouldNotSubmitAlreadySubmittedQuote()
throws CommerceQuoteAssignmentException
CommerceQuoteAssignmentExceptionpublic void shouldUpdateQuantitiesOnSaveQuote()
throws CommerceSaveCartException,
CommerceQuoteAssignmentException
public void shouldNotSaveQuoteInInvalidState()
throws CommerceQuoteAssignmentException
CommerceQuoteAssignmentExceptionCopyright © 2018 SAP SE. All Rights Reserved.