Class DefaultClassificationSystemServiceTest
- java.lang.Object
-
- de.hybris.platform.classification.impl.DefaultClassificationSystemServiceTest
-
@UnitTest public class DefaultClassificationSystemServiceTest extends java.lang.Object
Mock test for theDefaultClassificationSystemService.
-
-
Constructor Summary
Constructors Constructor Description DefaultClassificationSystemServiceTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp()
-
testGetClassForCode
public void testGetClassForCode()
-
testGetClassForCodeWithIllegalArgumentException
public void testGetClassForCodeWithIllegalArgumentException()
-
testGetClassForCodeWithUnknownIdentifierException
public void testGetClassForCodeWithUnknownIdentifierException()
-
testGetClassForCodeWithAmbiguousIdentifierException
public void testGetClassForCodeWithAmbiguousIdentifierException()
-
testGetAttributeForCode
public void testGetAttributeForCode()
-
testGetAttributeForCodeWithIllegalArgumentException
public void testGetAttributeForCodeWithIllegalArgumentException()
-
testGetAttributeForCodeWithUnknownIdentifierException
public void testGetAttributeForCodeWithUnknownIdentifierException()
-
testGetAttributeForCodeWithAmbiguousIdentifierException
public void testGetAttributeForCodeWithAmbiguousIdentifierException()
-
testGetAttributeValueForCode
public void testGetAttributeValueForCode()
-
testGetAttributeValueForCodeWithIllegalArgumentException
public void testGetAttributeValueForCodeWithIllegalArgumentException()
-
testGetAttributeValueForCodeWithUnknownIdentifierException
public void testGetAttributeValueForCodeWithUnknownIdentifierException()
-
testGetAttributeValueForCodeWithAmbiguousIdentifierException
public void testGetAttributeValueForCodeWithAmbiguousIdentifierException()
-
testGetAttributeUnitForCode
public void testGetAttributeUnitForCode()
-
testGetAttributeUnitForCodeWithIllegalArgumentException
public void testGetAttributeUnitForCodeWithIllegalArgumentException()
-
testGetAttributeUnitForCodeWithUnknownIdentifierException
public void testGetAttributeUnitForCodeWithUnknownIdentifierException()
-
testGetAttributeUnitForCodeWithAmbiguousIdentifierException
public void testGetAttributeUnitForCodeWithAmbiguousIdentifierException()
-
testGetAttributeUnitsForSystemVersion
public void testGetAttributeUnitsForSystemVersion()
-
testGetAttributeUnitsForSystemVersionWithIllegalArgumentException
public void testGetAttributeUnitsForSystemVersionWithIllegalArgumentException()
-
testGetUnitsOfTypeForSystemVersion
public void testGetUnitsOfTypeForSystemVersion()
-
testGetUnitsOfTypeForSystemVersionWithIllegalArgumentException
public void testGetUnitsOfTypeForSystemVersionWithIllegalArgumentException()
-
testGetConvertibleUnits
public void testGetConvertibleUnits()
-
testGetConvertibleUnitsWithIllegalArgumentException
public void testGetConvertibleUnitsWithIllegalArgumentException()
-
testGetUnitTypesForSystemVersion
public void testGetUnitTypesForSystemVersion()
-
testGetUnitTypesForSystemVersionWithIllegalArgumentException
public void testGetUnitTypesForSystemVersionWithIllegalArgumentException()
-
testGetRootClassesForSystemVersion
public void testGetRootClassesForSystemVersion()
-
testGetRootClassesForSystemVersionWithIllegalArgumentException
public void testGetRootClassesForSystemVersionWithIllegalArgumentException()
-
testGetSystemVersionWithIlegalArgumentException
public void testGetSystemVersionWithIlegalArgumentException()
Checks that anIllegalArgumentExceptionis thrown whenever a null is used as an ID or as a system version
-
testGetSystemVersionWithUnknownIdentifierException
public void testGetSystemVersionWithUnknownIdentifierException()
Checks that anUnknownIdentifierExceptionis thrown whenever a non existing ClassificationSystem ID is used or a non existing system version
-
testGetSystemVersionWithAmbiguousIdentifierException
public void testGetSystemVersionWithAmbiguousIdentifierException()
Checks that anAmbiguousIdentifierExceptionis thrown whenever two existing ClassificationSystem ID are found
-
testGetSystemVersionWithExistingClassificationsSystemVersion
public void testGetSystemVersionWithExistingClassificationsSystemVersion()
Checks thatDefaultClassificationSystemServiceretrieves the correct ClassificationSystemVersion for an existing ClassificationSystem ID and a systemVersion
-
testGetSystemWithIllegalArgumentException
public void testGetSystemWithIllegalArgumentException()
Checks that anIllegalArgumentExceptionis thrown whenever a null is used as an ID
-
testGetSystemForIdWithUnknownIdentifierException
public void testGetSystemForIdWithUnknownIdentifierException()
Checks that anUnknownIdentifierExceptionis thrown whenever a non existing ClassificationSystem ID is used
-
testgetSystemForIdWithAmbiguousIdentifierException
public void testgetSystemForIdWithAmbiguousIdentifierException()
Checks that anAmbiguousIdentifierExceptionis thrown whenever two existing ClassificationSystem ID are found
-
testGetSystemForIdWithExistingId
public void testGetSystemForIdWithExistingId()
Checks thatDefaultClassificationSystemServiceretrieves the correct ClassificationSystem for an existing ClassificationSystem ID
-
-