@IntegrationTest @DemoTest public class EnumerationServiceDemoTest extends ServicelayerTransactionalBaseTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
EnumerationServiceDemoTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
prepares some testdata, before execution of every test:
- the test EnumerationValueModel will be prepared (not persisted) |
void |
testChangingEnumerationName()
Demonstrates how to use the enumerationService to get and set the Enumeration Name.
|
void |
testGettingEnumerationValueByClassAndValue()
Demonstrates how to use the enumerationService to get Enum-Values by class and value.
|
void |
testGettingEnumerationValueByCodeAndValue()
Demonstrates how to use the enumerationService to get Enum-Values by code and value.
|
void |
testGettingEnumerationValuesByClass()
Demonstrates how to use the enumerationService to get Enum-Values by class.
|
void |
testGettingEnumerationValuesByCode()
Demonstrates how to use the enumerationService to get Enum-Values by code.
|
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void setUp()
throws Exception
Exceptionpublic void testGettingEnumerationValuesByCode()
public void testGettingEnumerationValuesByClass()
public void testGettingEnumerationValueByCodeAndValue()
public void testGettingEnumerationValueByClassAndValue()
public void testChangingEnumerationName()
Copyright © 2017 SAP SE. All Rights Reserved.