Class DefaultClassificationSystemServiceIntegrationTest

    • Constructor Detail

      • DefaultClassificationSystemServiceIntegrationTest

        public DefaultClassificationSystemServiceIntegrationTest()
    • Method Detail

      • setUp

        public void setUp()
      • testSetup

        public void testSetup()
        Check that the ClassificationSystem and ClassificationSystemVersion exist
      • testGetClassificationSystemWithIllegalArgumentException

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

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

        public void testGetClassificationSystemForIdWithExistingId()
        Checks that DefaultClassificationSystemService retrieves the correct ClassificationSystem for an existing ClassificationSystem ID
      • testGetClassificationSystemVersionWithIlegalArgumentException

        public void testGetClassificationSystemVersionWithIlegalArgumentException()
        Checks that an IllegalArgumentException is thrown whenever a null is used as an ID or as a system version
      • testGetClassificationSystemVersionWithUnknownIdentifierException

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

        public void testGetClassificationSystemVersionWithExistingClassificationsSystemVersion()
        Checks that DefaultClassificationSystemService retrieves the correct ClassificationSystemVersion for an existing ClassificationSystem ID and a corresponding version