@Test
public void groupEntityLookUp() throws Exception {

    String token = "4EpPYDSfgN2D4Gf7UmNO3nuL";
    OIDCLookupEntityRequest oidcLookupEntityRequest = new OIDCLookupEntityRequest();
    oidcLookupEntityRequest.setId("1223");
    oidcLookupEntityRequest.setAlias_id("123");
    oidcLookupEntityRequest.setAlias_mount_accessor("mount");
    oidcLookupEntityRequest.setAlias_name("alias_name");
    oidcLookupEntityRequest.setName("name");
    String jsonStr = JSONUtil.getJSON(oidcLookupEntityRequest);
    Response response = getMockResponse(HttpStatus.OK, true, "{\"data\": [\"safeadmin\",\"vaultadmin\"]]");
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK)
            .body("{\"data\": [\"safeadmin\",\"vaultadmin\"]]");
    when(reqProcessor.process("/identity/lookup/group", jsonStr, token)).thenReturn(response);
    ResponseEntity<String> responseEntity = oidcAuthService.groupEntityLookUp(token, oidcLookupEntityRequest);
    assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
    assertEquals(responseEntityExpected, responseEntity);
}