diff options
author | 2022-10-07 13:40:00 +0200 | |
---|---|---|
committer | 2022-10-10 06:43:23 +0000 | |
commit | 9bf47c83f2b15f5c55cc0d7c5a1f61f2d790ad57 (patch) | |
tree | ef41837ea531d287d74364813d63b0e25238c8ee /aai-traversal/src/test/java/org/onap/aai/rest/util/EchoResponseTest.java | |
parent | e632cf8afa27bdedf8b2044c430cd604ab7d4987 (diff) |
Migrate Mockito 1 to version 2 in the traversal service
- update mockito and powermock
- update eelf-core since it has a compile time dependency to mockito 1.10.19 in version 1
- exclude the vaadin android-json since it leads to a warning in maven
Issue-ID: AAI-3545
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I06354182c5af21ce1c8cb851f9e65c3c38e7102c
Diffstat (limited to 'aai-traversal/src/test/java/org/onap/aai/rest/util/EchoResponseTest.java')
-rw-r--r-- | aai-traversal/src/test/java/org/onap/aai/rest/util/EchoResponseTest.java | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/aai-traversal/src/test/java/org/onap/aai/rest/util/EchoResponseTest.java b/aai-traversal/src/test/java/org/onap/aai/rest/util/EchoResponseTest.java index 46ff650..97702fa 100644 --- a/aai-traversal/src/test/java/org/onap/aai/rest/util/EchoResponseTest.java +++ b/aai-traversal/src/test/java/org/onap/aai/rest/util/EchoResponseTest.java @@ -21,15 +21,23 @@ package org.onap.aai.rest.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; -import static org.mockito.Matchers.anyObject; +import static org.mockito.ArgumentMatchers.anyObject; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import com.att.eelf.configuration.EELFManager; - -import java.util.*; - -import javax.ws.rs.core.*; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashSet; +import java.util.List; +import java.util.Set; +import java.util.UUID; + +import javax.ws.rs.core.HttpHeaders; +import javax.ws.rs.core.MediaType; +import javax.ws.rs.core.MultivaluedHashMap; +import javax.ws.rs.core.MultivaluedMap; +import javax.ws.rs.core.Response; +import javax.ws.rs.core.UriInfo; import org.junit.Before; import org.junit.Test; |