@Test
public void getContent() throws Exception {

    TestSubscriber<List<Branch>> branchSubscriber = TestSubscriber.create();
    repositoryDataSource.listBranches("TellH", "GitClub").subscribe(branchSubscriber);
    List<Branch> branches = branchSubscriber.getOnNextEvents().get(0);
    assertNotNull(branches);
    assertTrue(branches.size() > 0);
    TestSubscriber<List<TreeNode>> treeNodeSubscriber = TestSubscriber.create();
    repositoryDataSource.getContent("TellH", "GitClub", branches.get(0)).subscribe(treeNodeSubscriber);
    List<TreeNode> treeNodes = treeNodeSubscriber.getOnNextEvents().get(0);
    assertNotNull(treeNodes);
}