@IntegrationTest public class DefaultConsentFacadeIntegrationTest extends ServicelayerTest
DefaultConsentFacadeimportServicejaloSession| Constructor and Description |
|---|
DefaultConsentFacadeIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected ConsentData |
getConsentData(java.lang.String consentTemplateId,
java.util.List<ConsentTemplateData> consentTemplateDataList) |
void |
getConsentsShouldReturnAnEmptyList() |
void |
getConsentsShouldReturnThreeConsentTemplates() |
void |
getLatestConsentTemplateShouldFindConsentTemplate() |
void |
getLatestConsentTemplateShouldThrowException() |
void |
setUp() |
void |
testGivenAndWithdrawConsentWorkflow() |
void |
testGivenConsentForNonExistingConsentTemplateId() |
void |
testGivenConsentForNonExistingConsentTemplateVersion() |
protected void |
testIdAndVersion(ConsentTemplateData consentTemplateData,
java.lang.String expectedId,
java.lang.Integer expectedVersion) |
void |
testWithdrawConsentForNonExistingConsent() |
createCoreData, 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 getLatestConsentTemplateShouldFindConsentTemplate()
throws java.text.ParseException
java.text.ParseExceptionpublic void getLatestConsentTemplateShouldThrowException()
throws java.text.ParseException
java.text.ParseExceptionpublic void getConsentsShouldReturnThreeConsentTemplates()
throws java.text.ParseException
java.text.ParseExceptionpublic void getConsentsShouldReturnAnEmptyList()
throws java.text.ParseException
java.text.ParseExceptionpublic void testGivenAndWithdrawConsentWorkflow()
throws java.text.ParseException
java.text.ParseExceptionpublic void testGivenConsentForNonExistingConsentTemplateId()
public void testGivenConsentForNonExistingConsentTemplateVersion()
public void testWithdrawConsentForNonExistingConsent()
protected ConsentData getConsentData(java.lang.String consentTemplateId, java.util.List<ConsentTemplateData> consentTemplateDataList)
protected void testIdAndVersion(ConsentTemplateData consentTemplateData, java.lang.String expectedId, java.lang.Integer expectedVersion)
Copyright © 2018 SAP SE. All Rights Reserved.