@IntegrationTest @DemoTest public class DefaultClassificationSystemServiceIntegrationTest extends ServicelayerTransactionalTest
DefaultClassificationSystemServiceimportServicedefaultLanguage, jaloSession| Constructor and Description |
|---|
DefaultClassificationSystemServiceIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testGetClassificationSystemForIdWithExistingId()
Checks that
DefaultClassificationSystemService retrieves the correct ClassificationSystem for an existing
ClassificationSystem ID |
void |
testGetClassificationSystemForIdWithUnknownIdentifierException()
Checks that an
UnknownIdentifierException is thrown whenever a non existing ClassificationSystem ID is
used |
void |
testGetClassificationSystemVersionWithExistingClassificationsSystemVersion()
Checks that
DefaultClassificationSystemService retrieves the correct ClassificationSystemVersion for an
existing ClassificationSystem ID and a corresponding version |
void |
testGetClassificationSystemVersionWithIlegalArgumentException()
Checks that an
IllegalArgumentException is thrown whenever a null is used as an ID or as a system version |
void |
testGetClassificationSystemVersionWithUnknownIdentifierException()
Checks that an
UnknownIdentifierException is thrown whenever a non existing ClassificationSystem ID is
used or a non existing system version |
void |
testGetClassificationSystemWithIllegalArgumentException()
Checks that an
IllegalArgumentException is thrown whenever a null is used as an ID |
void |
testSetup()
Check that the ClassificationSystem and ClassificationSystemVersion exist
|
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic DefaultClassificationSystemServiceIntegrationTest()
public void setUp()
public void testSetup()
public void testGetClassificationSystemWithIllegalArgumentException()
IllegalArgumentException is thrown whenever a null is used as an IDpublic void testGetClassificationSystemForIdWithUnknownIdentifierException()
UnknownIdentifierException is thrown whenever a non existing ClassificationSystem ID is
usedpublic void testGetClassificationSystemForIdWithExistingId()
DefaultClassificationSystemService retrieves the correct ClassificationSystem for an existing
ClassificationSystem IDpublic void testGetClassificationSystemVersionWithIlegalArgumentException()
IllegalArgumentException is thrown whenever a null is used as an ID or as a system versionpublic void testGetClassificationSystemVersionWithUnknownIdentifierException()
UnknownIdentifierException is thrown whenever a non existing ClassificationSystem ID is
used or a non existing system versionpublic void testGetClassificationSystemVersionWithExistingClassificationsSystemVersion()
DefaultClassificationSystemService retrieves the correct ClassificationSystemVersion for an
existing ClassificationSystem ID and a corresponding versionCopyright © 2018 SAP SE. All Rights Reserved.