From b5fe8a69e90b950c07dc11af481eab7e9bab52c6 Mon Sep 17 00:00:00 2001 From: "Dunietz, Irwin" Date: Thu, 16 Jan 2020 15:13:14 -0500 Subject: Change code in appc dispatcher for new LCMs in R6 Also introduce some minor improvements to robustness, efficiency, & formatting. Issue-ID: APPC-1789 Signed-off-by: Dunietz, Irwin Change-Id: I82d970c2f7cde6c8dab1222af86ea70ce93b7e50 --- .../org/onap/appc/dg/licmgr/impl/LicenseManagerPluginImplTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'appc-dg/appc-dg-shared/appc-dg-license-manager') diff --git a/appc-dg/appc-dg-shared/appc-dg-license-manager/src/test/java/org/onap/appc/dg/licmgr/impl/LicenseManagerPluginImplTest.java b/appc-dg/appc-dg-shared/appc-dg-license-manager/src/test/java/org/onap/appc/dg/licmgr/impl/LicenseManagerPluginImplTest.java index cee75ba47..14094d77e 100644 --- a/appc-dg/appc-dg-shared/appc-dg-license-manager/src/test/java/org/onap/appc/dg/licmgr/impl/LicenseManagerPluginImplTest.java +++ b/appc-dg/appc-dg-shared/appc-dg-license-manager/src/test/java/org/onap/appc/dg/licmgr/impl/LicenseManagerPluginImplTest.java @@ -3,6 +3,8 @@ * ONAP : APPC * ================================================================================ * Copyright (C) 2019 Ericsson + * ================================================================================ + * Modifications Copyright (C) 2019 AT&T Intellectual Property * ============================================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,7 +48,8 @@ public class LicenseManagerPluginImplTest { public void testRetrieveLicenseModel() throws APPCException { LicenseManagerPluginImpl lmImpl = new LicenseManagerPluginImpl(); lmImpl.setLicenseManager(licenseManagerMock); - Mockito.doReturn(licenseModelMock).when(licenseManagerMock).retrieveLicenseModel(Mockito.anyString(), Mockito.anyString()); + Mockito.doReturn(licenseModelMock).when(licenseManagerMock) + .retrieveLicenseModel(Mockito.anyString(), Mockito.anyString()); Map params = new HashMap<>(); SvcLogicContext ctx = new SvcLogicContext(); lmImpl.retrieveLicenseModel(params, ctx); -- cgit 1.2.3-korg