diff options
author | Amichai Hemli <amichai.hemli@intl.att.com> | 2019-09-09 18:13:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-09 18:13:14 +0000 |
commit | c6f2f4f6ef1a03721c4a803499d6568e20669501 (patch) | |
tree | 5a1560f7afc2246c6f88654253bd27996ed1e483 /vid-app-common/src/test/java/org/onap/vid/services | |
parent | 25092b22c03c748c2c444444b9590f3304958d2e (diff) | |
parent | b83152ff4a535c71e082f68c2ffe531e299d1da4 (diff) |
Merge "initMockitoMocks: Generify null-placing"
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/services')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/services/AAIServiceTreeIntegrativeTest.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/services/AAIServiceTreeIntegrativeTest.java b/vid-app-common/src/test/java/org/onap/vid/services/AAIServiceTreeIntegrativeTest.java index e5799bcf0..8c33e7f64 100644 --- a/vid-app-common/src/test/java/org/onap/vid/services/AAIServiceTreeIntegrativeTest.java +++ b/vid-app-common/src/test/java/org/onap/vid/services/AAIServiceTreeIntegrativeTest.java @@ -41,7 +41,6 @@ import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import javax.ws.rs.core.Response; import org.mockito.Mock; -import org.mockito.MockitoAnnotations; import org.onap.vid.aai.AaiClientInterface; import org.onap.vid.aai.ExceptionWithRequestInfo; import org.onap.vid.aai.util.AAITreeConverter; @@ -292,14 +291,7 @@ public class AAIServiceTreeIntegrativeTest { @BeforeMethod public void initMocks() { - aaiClient = null; - aaiGetVersionByInvariantIdResponse = null; - sdcService = null; - serviceModelInflator = null; - exceptionWithRequestInfo = null; - - MockitoAnnotations.initMocks(this); - + TestUtils.initMockitoMocks(this); aaiTreeNodeBuilder = new AAITreeNodeBuilder(aaiClient); } |