aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-01-17 07:55:30 -0500
committerPamela Dragosh <pdragosh@research.att.com>2020-01-17 07:56:00 -0500
commit9bb84e47187fef94e028ff9dc374355773205bd3 (patch)
treea8b35811d3b3be72be31d254d8cd38a1c7e47740 /controlloop
parent887a37c04112fc1613506eb1c6e91bb7bf4abfd2 (diff)
Update m2 test to mockito2 for JDK 11
Peyton's review was pulled in before Ali's JDK 11 fix. So unfortunately this update did not get done. Issue-ID: POLICY-1587 Change-Id: I9666b6e2f2327183e15bfe19d34515d0426c8ff0 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'controlloop')
-rw-r--r--controlloop/m2/util/pom.xml2
-rw-r--r--controlloop/m2/util/src/test/java/org/onap/policy/util/DroolsSessionCommonSerializableTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/m2/util/pom.xml b/controlloop/m2/util/pom.xml
index 0a45408bd..12f6ba7de 100644
--- a/controlloop/m2/util/pom.xml
+++ b/controlloop/m2/util/pom.xml
@@ -46,7 +46,7 @@
<dependency>
<groupId>org.powermock</groupId>
- <artifactId>powermock-api-mockito</artifactId>
+ <artifactId>powermock-api-mockito2</artifactId>
<scope>test</scope>
</dependency>
diff --git a/controlloop/m2/util/src/test/java/org/onap/policy/util/DroolsSessionCommonSerializableTest.java b/controlloop/m2/util/src/test/java/org/onap/policy/util/DroolsSessionCommonSerializableTest.java
index 808be342c..2448d176b 100644
--- a/controlloop/m2/util/src/test/java/org/onap/policy/util/DroolsSessionCommonSerializableTest.java
+++ b/controlloop/m2/util/src/test/java/org/onap/policy/util/DroolsSessionCommonSerializableTest.java
@@ -21,7 +21,7 @@
package org.onap.policy.util;
import static org.junit.Assert.assertNotNull;
-import static org.mockito.Matchers.any;
+import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;