diff options
Diffstat (limited to 'models-dao')
-rw-r--r-- | models-dao/src/test/java/org/onap/policy/models/dao/EntityTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models-dao/src/test/java/org/onap/policy/models/dao/EntityTest.java b/models-dao/src/test/java/org/onap/policy/models/dao/EntityTest.java index bab28c487..4bf39a059 100644 --- a/models-dao/src/test/java/org/onap/policy/models/dao/EntityTest.java +++ b/models-dao/src/test/java/org/onap/policy/models/dao/EntityTest.java @@ -328,6 +328,8 @@ public class EntityTest { pfDao.create(keyInfo5); assertEquals(3, pfDao.getAllVersions(DummyConceptEntity.class, "AAA0").size()); + assertEquals(0, pfDao.getAllVersions(null, "AAA0").size()); + assertEquals(0, pfDao.getAllVersions(DummyConceptEntity.class, null).size()); } private void testgetFilteredOps() { |