@UnitTest public class DefaultClassificationSystemServiceTest extends java.lang.Object
DefaultClassificationSystemService.| Constructor and Description |
|---|
DefaultClassificationSystemServiceTest() |
public DefaultClassificationSystemServiceTest()
public void setUp()
public void testGetClassForCode()
public void testGetClassForCodeWithIllegalArgumentException()
public void testGetClassForCodeWithUnknownIdentifierException()
public void testGetClassForCodeWithAmbiguousIdentifierException()
public void testGetAttributeForCode()
public void testGetAttributeForCodeWithIllegalArgumentException()
public void testGetAttributeForCodeWithUnknownIdentifierException()
public void testGetAttributeForCodeWithAmbiguousIdentifierException()
public void testGetAttributeValueForCode()
public void testGetAttributeValueForCodeWithIllegalArgumentException()
public void testGetAttributeValueForCodeWithUnknownIdentifierException()
public void testGetAttributeValueForCodeWithAmbiguousIdentifierException()
public void testGetAttributeUnitForCode()
public void testGetAttributeUnitForCodeWithIllegalArgumentException()
public void testGetAttributeUnitForCodeWithUnknownIdentifierException()
public void testGetAttributeUnitForCodeWithAmbiguousIdentifierException()
public void testGetAttributeUnitsForSystemVersion()
public void testGetAttributeUnitsForSystemVersionWithIllegalArgumentException()
public void testGetUnitsOfTypeForSystemVersion()
public void testGetUnitsOfTypeForSystemVersionWithIllegalArgumentException()
public void testGetConvertibleUnits()
public void testGetConvertibleUnitsWithIllegalArgumentException()
public void testGetUnitTypesForSystemVersion()
public void testGetUnitTypesForSystemVersionWithIllegalArgumentException()
public void testGetRootClassesForSystemVersion()
public void testGetRootClassesForSystemVersionWithIllegalArgumentException()
public void testGetSystemVersionWithIlegalArgumentException()
IllegalArgumentException is thrown whenever a null is used as an ID or as a system versionpublic void testGetSystemVersionWithUnknownIdentifierException()
UnknownIdentifierException is thrown whenever a non existing ClassificationSystem ID is
used or a non existing system versionpublic void testGetSystemVersionWithAmbiguousIdentifierException()
AmbiguousIdentifierException is thrown whenever two existing ClassificationSystem ID are
foundpublic void testGetSystemVersionWithExistingClassificationsSystemVersion()
DefaultClassificationSystemService retrieves the correct ClassificationSystemVersion for an
existing ClassificationSystem ID and a systemVersionpublic void testGetSystemWithIllegalArgumentException()
IllegalArgumentException is thrown whenever a null is used as an IDpublic void testGetSystemForIdWithUnknownIdentifierException()
UnknownIdentifierException is thrown whenever a non existing ClassificationSystem ID is
usedpublic void testgetSystemForIdWithAmbiguousIdentifierException()
AmbiguousIdentifierException is thrown whenever two existing ClassificationSystem ID are
foundpublic void testGetSystemForIdWithExistingId()
DefaultClassificationSystemService retrieves the correct ClassificationSystem for an existing
ClassificationSystem IDCopyright © 2018 SAP SE. All Rights Reserved.