@Test
public void createGroupAlias() throws Exception {

    String token = "4EpPYDSfgN2D4Gf7UmNO3nuL";
    String id = "1234ae-45fg";
    GroupAliasRequest groupAliasRequest = new GroupAliasRequest();
    groupAliasRequest.setCanonical_id("1212-122");
    groupAliasRequest.setId(id);
    groupAliasRequest.setMount_accessor("mount_accessor");
    groupAliasRequest.setName("name");
    String jsonStr = JSONUtil.getJSON(groupAliasRequest);
    Response response = getMockResponse(HttpStatus.OK, true, "{\"data\": [\"safeadmin\",\"vaultadmin\"]]");
    when(OIDCUtil.createGroupAlias(token, groupAliasRequest)).thenReturn(response);
    ResponseEntity<String> responseEntity = oidcAuthService.createGroupAlias(token, groupAliasRequest);
    assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
    assertEquals(response.getResponse(), responseEntity.getBody());
}