@Test
public void testSearch() {

    Response response = feedService.search(search);
    when(ElasticSearchHelper.getResponseFromFuture(Mockito.any())).thenReturn(esResponse);
    PowerMockito.when(esUtil.search(search, ProjectUtil.EsType.userfeed.getTypeName()))
            .thenReturn(promise.future());
    Assert.assertTrue(esResponse != null);
}