Security/ Package Name changes
[portal.git] / ecomp-portal-BE-os / src / test / java / org / onap / portalapp / portal / authentication / OpenIdConnectLoginStrategyTest.java
@@ -2,11 +2,11 @@
  * ============LICENSE_START==========================================
  * ONAP Portal
  * ===================================================================
- * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ===================================================================
  *
  * Unless otherwise specified, all software contained herein is licensed
- * under the Apache License, Version 2.0 (the “License”);
+ * under the Apache License, Version 2.0 (the "License");
  * you may not use this software except in compliance with the License.
  * You may obtain a copy of the License at
  *
@@ -19,7 +19,7 @@
  * limitations under the License.
  *
  * Unless otherwise specified, all documentation contained herein is licensed
- * under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+ * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
  * you may not use this documentation except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.openecomp.portalapp.portal.authentication;
+package org.onap.portalapp.portal.authentication;
 
 import static org.junit.Assert.*;
 
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
-import org.openecomp.portalsdk.core.onboarding.exception.PortalAPIException;
-import org.openecomp.portalsdk.core.util.SystemProperties;
+import org.onap.portalapp.authentication.OpenIdConnectLoginStrategy;
+import org.onap.portalapp.portal.framework.MockitoTestSuite;
+import org.onap.portalapp.portal.utils.EPSystemProperties;
+import org.onap.portalapp.util.EPUserUtils;
+import org.onap.portalapp.util.SessionCookieUtil;
+import org.onap.portalsdk.core.onboarding.exception.PortalAPIException;
+import org.onap.portalsdk.core.util.SystemProperties;
 
 import org.junit.Before;
 import org.junit.Test;
@@ -53,11 +58,6 @@ import org.mitre.openid.connect.model.UserInfo;
 import org.mockito.InjectMocks;
 import org.mockito.Mockito;
 import org.mockito.MockitoAnnotations;
-import org.openecomp.portalapp.authentication.OpenIdConnectLoginStrategy;
-import org.openecomp.portalapp.portal.framework.MockitoTestSuite;
-import org.openecomp.portalapp.portal.utils.EPSystemProperties;
-import org.openecomp.portalapp.util.EPUserUtils;
-import org.openecomp.portalapp.util.SessionCookieUtil;
 import org.powermock.api.mockito.PowerMockito;
 import org.powermock.core.classloader.annotations.PrepareForTest;
 import org.powermock.modules.junit4.PowerMockRunner;
@@ -83,7 +83,7 @@ public class OpenIdConnectLoginStrategyTest {
        NullPointerException nullPointerException = new NullPointerException();
                
        @Test
-       public void loginTest()
+       public void loginTest() throws Exception
        {
                PowerMockito.mockStatic(StringUtils.class);
                PowerMockito.mockStatic(EPUserUtils.class);
@@ -99,7 +99,7 @@ public class OpenIdConnectLoginStrategyTest {
        }
        
        @Test
-       public void loginIfUserNullTest()
+       public void loginIfUserNullTest() throws Exception
        {               
                PowerMockito.mockStatic(SystemProperties.class);
                UserInfo  userInfo = null;
@@ -109,7 +109,7 @@ public class OpenIdConnectLoginStrategyTest {
        }
        
        @Test
-       public void loginIfUserIfAuthIsOIDCTest()
+       public void loginIfUserIfAuthIsOIDCTest() throws Exception
        {               
                PowerMockito.mockStatic(SystemProperties.class);
                UserInfo  userInfo = null;
@@ -120,7 +120,7 @@ public class OpenIdConnectLoginStrategyTest {
        }
        
        @Test
-       public void loginIfUserIfAuthNotNullTest()
+       public void loginIfUserIfAuthNotNullTest() throws Exception
        {               
                PowerMockito.mockStatic(SystemProperties.class);
                UserInfo  userInfo = null;
@@ -131,7 +131,7 @@ public class OpenIdConnectLoginStrategyTest {
        }
        
        @Test
-       public void loginIfUserExceptionest()
+       public void loginIfUserExceptionest() throws Exception
        {               
                PowerMockito.mockStatic(SystemProperties.class);
                UserInfo  userInfo = null;