From d4050ef7a4a6961509a82c9c4511e2aceb6d5394 Mon Sep 17 00:00:00 2001 From: Tal Gitelman Date: Thu, 29 Nov 2018 11:57:23 +0200 Subject: update sdc portal integration Issue-ID: SDC-1749 Change-Id: Ic8162af62583dd5d1d81662ef555d2267514f107 Signed-off-by: Tal Gitelman --- .../ecomp/PortalRestAPICentralServiceImplTest.java | 47 +--------------------- 1 file changed, 1 insertion(+), 46 deletions(-) (limited to 'catalog-be/src/test/java/org') diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/ecomp/PortalRestAPICentralServiceImplTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/ecomp/PortalRestAPICentralServiceImplTest.java index 552d2dd4a6..dd76fb29c7 100644 --- a/catalog-be/src/test/java/org/openecomp/sdc/be/ecomp/PortalRestAPICentralServiceImplTest.java +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/ecomp/PortalRestAPICentralServiceImplTest.java @@ -7,17 +7,12 @@ import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.onap.portalsdk.core.onboarding.exception.PortalAPIException; -import org.onap.portalsdk.core.restful.domain.EcompRole; import org.onap.portalsdk.core.restful.domain.EcompUser; import org.openecomp.sdc.be.user.UserBusinessLogic; import org.springframework.web.context.ContextLoader; import org.springframework.web.context.WebApplicationContext; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; -import java.util.HashSet; import java.util.Map; -import java.util.Set; public class PortalRestAPICentralServiceImplTest { @Mock @@ -108,44 +103,4 @@ public class PortalRestAPICentralServiceImplTest { //TODO: Test goes here... } - - /** - * - * Method: getUserBusinessLogic() - * - */ - @Test - public void testGetUserBusinessLogic() throws Exception { - //TODO: Test goes here... - - try { - Method method = testSubject.getClass().getMethod("getUserBusinessLogic"); - method.setAccessible(true); - method.invoke(testSubject); - } catch(NoSuchMethodException e) { - } catch(IllegalAccessException e) { - } catch(InvocationTargetException e) { - } - } - - /** - * - * Method: checkIfSingleRoleProvided(EcompUser user) - * - */ - @Test - public void testCheckIfSingleRoleProvided() throws Exception { - //TODO: Test goes here... - /* - try { - Method method = PortalRestAPICentralServiceImpl.getClass().getMethod("checkIfSingleRoleProvided", EcompUser.class); - method.setAccessible(true); - method.invoke(, ); - } catch(NoSuchMethodException e) { - } catch(IllegalAccessException e) { - } catch(InvocationTargetException e) { - } - */ - } - -} +} -- cgit 1.2.3-korg