@Test
public void test_fetchLdapUser_successfully() {

    String token = "4EpPYDSfgN2D4Gf7UmNO3nuL";
    Response responseUser = getMockResponse(HttpStatus.OK, true, "{  \"data\": {\"groups\": \"\",\"policies\": [ \"admin\", \"default\" ]  }}");
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body("{  \"data\": {\"groups\": \"\",\"policies\": [ \"admin\", \"default\" ]  }}");
    when(reqProcessor.process("/auth/ldap/users","{\"username\":\"safeadmin\"}",token)).thenReturn(responseUser);
    ResponseEntity<String> responseEntity = ldapAuthService.fetchLdapUser(token, "safeadmin");
    assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
    assertEquals(responseEntityExpected, responseEntity);
}