@Test
public void search() throws Exception {

    TestSubscriber<SearchResult<UserEntity>> subscriber = TestSubscriber.create();
    userDataSource.search("", Constant.Language.ALL.val(), Constant.SortType.SortType_User.BEST_MATCH, 1)
            .subscribe(subscriber);
    List<SearchResult<UserEntity>> onNextEvents = subscriber.getOnNextEvents();
    assertNotNull(onNextEvents);
    System.out.println(onNextEvents.get(0).toString());
}