@Test
public void test_getGroupObjectIdFromAzure_success() throws Exception {

    String ssoToken = "abcd";
    String groupName = "group1";
    when(OIDCUtil.getSSOToken()).thenReturn(ssoToken);
    when(OIDCUtil.getGroupObjectResponse(ssoToken, groupName)).thenReturn("abcdefg");
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body("{\"data\":{\"objectId\": \"abcdefg\"}}");
    ResponseEntity<String> responseEntityActual =
            oidcAuthService.getGroupObjectIdFromAzure(groupName);
    assertEquals(HttpStatus.OK, responseEntityActual.getStatusCode());
    assertEquals(responseEntityExpected.toString(),responseEntityActual.toString());
}