@Test
public void test_configureLDAPUser_successfully() {

    String userName = "normaluser";
    String policies = "{\"default\"}";
    String groups = "group1";
    String token = "7QPMPIGiyDFlJkrK3jFykUqa";
    Response responsemock = getMockResponse(HttpStatus.NO_CONTENT, true, "");
    when(reqProcessor.process(eq("/auth/ldap/users/configure"),Mockito.any(),eq(token))).thenReturn(responsemock);
    Response response = ControllerUtil.configureLDAPUser(userName, policies, groups, token);
    assertEquals(HttpStatus.NO_CONTENT, response.getHttpstatus());
}