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 the
DefaultClassificationSystemService-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidChecks thatDefaultClassificationSystemServiceretrieves the correct ClassificationSystem for an existing ClassificationSystem IDvoidChecks that anUnknownIdentifierExceptionis thrown whenever a non existing ClassificationSystem ID is usedvoidChecks thatDefaultClassificationSystemServiceretrieves the correct ClassificationSystemVersion for an existing ClassificationSystem ID and a corresponding versionvoidChecks that anIllegalArgumentExceptionis thrown whenever a null is used as an ID or as a system versionvoidChecks that anUnknownIdentifierExceptionis thrown whenever a non existing ClassificationSystem ID is used or a non existing system versionvoidChecks that anIllegalArgumentExceptionis thrown whenever a null is used as an IDvoidCheck that the ClassificationSystem and ClassificationSystemVersion existMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
DefaultClassificationSystemServiceIntegrationTest
public DefaultClassificationSystemServiceIntegrationTest()
-
-
Method Details
-
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
-