* ============LICENSE_START==========================================
* ONAP Portal
* ===================================================================
* ============LICENSE_START==========================================
* ONAP Portal
* ===================================================================
* ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
* ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
@RunWith(PowerMockRunner.class)
@PrepareForTest({URL.class, HttpURLConnection.class})
@RunWith(PowerMockRunner.class)
@PrepareForTest({URL.class, HttpURLConnection.class})
PowerMockito.when(huc.getResponseCode()).thenReturn(200);
Boolean actual = sessionCommunication.timeoutSession(app, "test");
assertTrue(actual);
PowerMockito.when(huc.getResponseCode()).thenReturn(200);
Boolean actual = sessionCommunication.timeoutSession(app, "test");
assertTrue(actual);