Merge "New JUnit for PolicyEngineAPI"
[policy/engine.git] / ONAP-XACML / src / main / java / org / onap / policy / xacml / std / pap / StdPDPStatus.java
index 6e1f2d6..a39ea36 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP-XACML
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -249,6 +249,8 @@ public class StdPDPStatus implements Serializable, PDPStatus {
                        return false;
                if (!loadedPolicies.equals(other.loadedPolicies))
                        return false;
+        if (!loadedRootPolicies.equals(other.loadedRootPolicies))
+            return false;
                if (status != other.status)
                        return false;
                return true;