@IntegrationTest public class DefaultOrgUnitQuoteServiceIntegrationTest extends BaseCommerceBaseTest
| Modifier and Type | Field and Description |
|---|---|
ExpectedException |
thrown |
flexibleSearchServiceimportServicejaloSession| Constructor and Description |
|---|
DefaultOrgUnitQuoteServiceIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertResultContains(java.util.List<QuoteModel> result,
java.lang.String quoteCode,
java.lang.Integer quoteVersion,
java.lang.String userUid) |
void |
cleanUp() |
protected PageableData |
createPageableData(int currentPage,
int pageSize) |
void |
setUp() |
void |
shouldGetQuotesForEmployee() |
void |
shouldNotGetQuotesForEmployeeEmployeeNull() |
void |
shouldNotGetQuotesForEmployeeInsufficientRole() |
void |
shouldNotGetQuotesForEmployeePageableDataNull() |
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 DefaultOrgUnitQuoteServiceIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void cleanUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldGetQuotesForEmployee()
protected void assertResultContains(java.util.List<QuoteModel> result, java.lang.String quoteCode, java.lang.Integer quoteVersion, java.lang.String userUid)
public void shouldNotGetQuotesForEmployeeEmployeeNull()
public void shouldNotGetQuotesForEmployeePageableDataNull()
public void shouldNotGetQuotesForEmployeeInsufficientRole()
protected PageableData createPageableData(int currentPage, int pageSize)
Copyright © 2018 SAP SE. All Rights Reserved.