diff --git a/source/java/org/alfresco/repo/dictionary/constraint/ConstraintsTest.java b/source/java/org/alfresco/repo/dictionary/constraint/ConstraintsTest.java index 5bd6ab86cf..9790fa27a2 100644 --- a/source/java/org/alfresco/repo/dictionary/constraint/ConstraintsTest.java +++ b/source/java/org/alfresco/repo/dictionary/constraint/ConstraintsTest.java @@ -68,7 +68,8 @@ public class ConstraintsTest extends TestCase assertEquals("DummyConstraint type should be 'org.alfresco.repo.dictionary.constraint.ConstraintsTest$DummyConstraint'", "org.alfresco.repo.dictionary.constraint.ConstraintsTest$DummyConstraint", constraint.getType()); - assertNull("DummyConstraint should not have parameters", constraint.getParameters()); + assertNotNull("DummyConstraint should not have empty parameters", constraint.getParameters()); + assertEquals("DummyConstraint should not have empty parameters", 0, constraint.getParameters().size()); List dummyObjects = new ArrayList(3); dummyObjects.add("ABC"); // correct