diff options
Diffstat (limited to 'policy-management/src/test')
-rw-r--r-- | policy-management/src/test/java/org/onap/policy/drools/system/test/PolicyEngineTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/policy-management/src/test/java/org/onap/policy/drools/system/test/PolicyEngineTest.java b/policy-management/src/test/java/org/onap/policy/drools/system/test/PolicyEngineTest.java index a9b916b1..1a771032 100644 --- a/policy-management/src/test/java/org/onap/policy/drools/system/test/PolicyEngineTest.java +++ b/policy-management/src/test/java/org/onap/policy/drools/system/test/PolicyEngineTest.java @@ -93,6 +93,9 @@ public class PolicyEngineTest { PolicyController testController = PolicyController.factory.get("unnamed"); assertFalse(testController.getDrools().isAlive()); assertFalse(testController.getDrools().isLocked()); + + PolicyEngine.manager.removePolicyController("unnamed"); + assertTrue(PolicyController.factory.inventory().isEmpty()); } } |