@Test
public void test_getSSOToken_success() throws Exception {

    Response response = new Response();
    response.setHttpstatus(HttpStatus.OK);
    response.setSuccess(true);
    response.setResponse(null);
    when(httpUtils.getHttpClient()).thenReturn(httpClient);
    when(httpClient.execute(any())).thenReturn(httpResponse);
    when(httpResponse.getStatusLine()).thenReturn(statusLine);
    when(statusLine.getStatusCode()).thenReturn(200);
    when(httpResponse.getEntity()).thenReturn(mockHttpEntity);
    String responseString = "{\"access_token\": \"abcd\"}";
    when(mockHttpEntity.getContent()).thenReturn( new ByteArrayInputStream(responseString.getBytes()));
    ReflectionTestUtils.setField(oidcUtil, "ssoGroupsEndpoint", "testgroupurl");
    when(ControllerUtil.getOidcADLoginUrl()).thenReturn("testurl");
    String responseJson = "{\"data\":{\"objectId\": \"abcdefg\"}}";
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(responseJson);
    String actualToken = oidcUtil.getSSOToken();
    assertNotNull(actualToken);
}