diff --git a/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationServiceBootstrapUnitTest.java b/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationServiceBootstrapUnitTest.java index c4c4c0398c..f75da87eaa 100644 --- a/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationServiceBootstrapUnitTest.java +++ b/rm-server/unit-test/java/org/alfresco/module/org_alfresco_module_rm/classification/ClassificationServiceBootstrapUnitTest.java @@ -160,6 +160,53 @@ public class ClassificationServiceBootstrapUnitTest implements ClassifiedContent classificationServiceBootstrap.getConfiguredSchemeEntities(ClassificationLevel.class, LEVELS_KEY, classificationLevelValidator); } + /** + * Check that we can add a classification entity after the system has been bootstrapped for the first time. + *
+ * RM-2484
+ * Given a classification scheme has been installed + * When I add new entities into the classification scheme configuration files + * And I restart the server + * Then the new entities are installed. + *+ */ + @Test public void addClassificationSchemeEntity() + { + List
+ * RM-2486
+ * Given a classification scheme has been installed + * And no content is classified using a given entity + * When I delete the entity from the classification scheme configuration + * And I restart the server + * Then the entity is no longer available in the system. + *+ */ + @Test public void deleteUnusedClassificationSchemeEntity() + { + List