Class DefaultClassificationSystemServiceTest

    • Constructor Detail

      • DefaultClassificationSystemServiceTest

        public DefaultClassificationSystemServiceTest()
    • 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 an IllegalArgumentException is thrown whenever a null is used as an ID or as a system version
      • testGetSystemVersionWithUnknownIdentifierException

        public void testGetSystemVersionWithUnknownIdentifierException()
        Checks that an UnknownIdentifierException is thrown whenever a non existing ClassificationSystem ID is used or a non existing system version
      • testGetSystemVersionWithAmbiguousIdentifierException

        public void testGetSystemVersionWithAmbiguousIdentifierException()
        Checks that an AmbiguousIdentifierException is thrown whenever two existing ClassificationSystem ID are found
      • testGetSystemVersionWithExistingClassificationsSystemVersion

        public void testGetSystemVersionWithExistingClassificationsSystemVersion()
        Checks that DefaultClassificationSystemService retrieves the correct ClassificationSystemVersion for an existing ClassificationSystem ID and a systemVersion
      • testGetSystemWithIllegalArgumentException

        public void testGetSystemWithIllegalArgumentException()
        Checks that an IllegalArgumentException is thrown whenever a null is used as an ID
      • testGetSystemForIdWithUnknownIdentifierException

        public void testGetSystemForIdWithUnknownIdentifierException()
        Checks that an UnknownIdentifierException is thrown whenever a non existing ClassificationSystem ID is used
      • testgetSystemForIdWithAmbiguousIdentifierException

        public void testgetSystemForIdWithAmbiguousIdentifierException()
        Checks that an AmbiguousIdentifierException is thrown whenever two existing ClassificationSystem ID are found
      • testGetSystemForIdWithExistingId

        public void testGetSystemForIdWithExistingId()
        Checks that DefaultClassificationSystemService retrieves the correct ClassificationSystem for an existing ClassificationSystem ID