@Test
public void deleteGroupByName() throws Exception {

    String token = "4EpPYDSfgN2D4Gf7UmNO3nuL";
    String entityName = "1234ae-45fg";
    Response response = getMockResponse(HttpStatus.OK, true, "{\"data\": [\"safeadmin\",\"vaultadmin\"]]");
en(OIDCUtil.deleteGroupByName(token, entityName)).thenReturn(response);
    ResponseEntity<String> responseEntity = oidcAuthService.deleteGroupByName(token, entityName);
    assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
    assertEquals(response.getResponse(), responseEntity.getBody());
}