@Test
public void listStarredRepo1() throws Exception {

    TestSubscriber<List<RepositoryInfo>> subscriber = TestSubscriber.create();
    userDataSource.listStarredRepo("TellH", Constant.SortType.SortType_Repo.STARS, 1).subscribe(subscriber);
    List<List<RepositoryInfo>> onNextEvents = subscriber.getOnNextEvents();
    assertNotNull(onNextEvents);
    System.out.println(onNextEvents.toString());
    List<RepositoryInfo> list = onNextEvents.get(0);
    for (int i = 1; i < list.size(); i++) {
        assertTrue(list.get(i).getStars() < list.get(i - 1).getStars());
    }
}