Class DefaultClassificationSystemServiceIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.classification.impl.DefaultClassificationSystemServiceIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest @DemoTest public class DefaultClassificationSystemServiceIntegrationTest extends ServicelayerTransactionalTest
Integration test for theDefaultClassificationSystemService
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultClassificationSystemServiceIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestGetClassificationSystemForIdWithExistingId()Checks thatDefaultClassificationSystemServiceretrieves the correct ClassificationSystem for an existing ClassificationSystem IDvoidtestGetClassificationSystemForIdWithUnknownIdentifierException()Checks that anUnknownIdentifierExceptionis thrown whenever a non existing ClassificationSystem ID is usedvoidtestGetClassificationSystemVersionWithExistingClassificationsSystemVersion()Checks thatDefaultClassificationSystemServiceretrieves the correct ClassificationSystemVersion for an existing ClassificationSystem ID and a corresponding versionvoidtestGetClassificationSystemVersionWithIlegalArgumentException()Checks that anIllegalArgumentExceptionis thrown whenever a null is used as an ID or as a system versionvoidtestGetClassificationSystemVersionWithUnknownIdentifierException()Checks that anUnknownIdentifierExceptionis thrown whenever a non existing ClassificationSystem ID is used or a non existing system versionvoidtestGetClassificationSystemWithIllegalArgumentException()Checks that anIllegalArgumentExceptionis thrown whenever a null is used as an IDvoidtestSetup()Check that the ClassificationSystem and ClassificationSystemVersion exist-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp()
-
testSetup
public void testSetup()
Check that the ClassificationSystem and ClassificationSystemVersion exist
-
testGetClassificationSystemWithIllegalArgumentException
public void testGetClassificationSystemWithIllegalArgumentException()
Checks that anIllegalArgumentExceptionis thrown whenever a null is used as an ID
-
testGetClassificationSystemForIdWithUnknownIdentifierException
public void testGetClassificationSystemForIdWithUnknownIdentifierException()
Checks that anUnknownIdentifierExceptionis thrown whenever a non existing ClassificationSystem ID is used
-
testGetClassificationSystemForIdWithExistingId
public void testGetClassificationSystemForIdWithExistingId()
Checks thatDefaultClassificationSystemServiceretrieves the correct ClassificationSystem for an existing ClassificationSystem ID
-
testGetClassificationSystemVersionWithIlegalArgumentException
public void testGetClassificationSystemVersionWithIlegalArgumentException()
Checks that anIllegalArgumentExceptionis thrown whenever a null is used as an ID or as a system version
-
testGetClassificationSystemVersionWithUnknownIdentifierException
public void testGetClassificationSystemVersionWithUnknownIdentifierException()
Checks that anUnknownIdentifierExceptionis thrown whenever a non existing ClassificationSystem ID is used or a non existing system version
-
testGetClassificationSystemVersionWithExistingClassificationsSystemVersion
public void testGetClassificationSystemVersionWithExistingClassificationsSystemVersion()
Checks thatDefaultClassificationSystemServiceretrieves the correct ClassificationSystemVersion for an existing ClassificationSystem ID and a corresponding version
-
-