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 void
setUp()
void
testGetClassificationSystemForIdWithExistingId()
Checks thatDefaultClassificationSystemService
retrieves the correct ClassificationSystem for an existing ClassificationSystem IDvoid
testGetClassificationSystemForIdWithUnknownIdentifierException()
Checks that anUnknownIdentifierException
is thrown whenever a non existing ClassificationSystem ID is usedvoid
testGetClassificationSystemVersionWithExistingClassificationsSystemVersion()
Checks thatDefaultClassificationSystemService
retrieves the correct ClassificationSystemVersion for an existing ClassificationSystem ID and a corresponding versionvoid
testGetClassificationSystemVersionWithIlegalArgumentException()
Checks that anIllegalArgumentException
is thrown whenever a null is used as an ID or as a system versionvoid
testGetClassificationSystemVersionWithUnknownIdentifierException()
Checks that anUnknownIdentifierException
is thrown whenever a non existing ClassificationSystem ID is used or a non existing system versionvoid
testGetClassificationSystemWithIllegalArgumentException()
Checks that anIllegalArgumentException
is thrown whenever a null is used as an IDvoid
testSetup()
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 anIllegalArgumentException
is thrown whenever a null is used as an ID
-
testGetClassificationSystemForIdWithUnknownIdentifierException
public void testGetClassificationSystemForIdWithUnknownIdentifierException()
Checks that anUnknownIdentifierException
is thrown whenever a non existing ClassificationSystem ID is used
-
testGetClassificationSystemForIdWithExistingId
public void testGetClassificationSystemForIdWithExistingId()
Checks thatDefaultClassificationSystemService
retrieves the correct ClassificationSystem for an existing ClassificationSystem ID
-
testGetClassificationSystemVersionWithIlegalArgumentException
public void testGetClassificationSystemVersionWithIlegalArgumentException()
Checks that anIllegalArgumentException
is thrown whenever a null is used as an ID or as a system version
-
testGetClassificationSystemVersionWithUnknownIdentifierException
public void testGetClassificationSystemVersionWithUnknownIdentifierException()
Checks that anUnknownIdentifierException
is thrown whenever a non existing ClassificationSystem ID is used or a non existing system version
-
testGetClassificationSystemVersionWithExistingClassificationsSystemVersion
public void testGetClassificationSystemVersionWithExistingClassificationsSystemVersion()
Checks thatDefaultClassificationSystemService
retrieves the correct ClassificationSystemVersion for an existing ClassificationSystem ID and a corresponding version
-
-