@Test
public void getRepositories()
        throws Exception {

    // given
    List<GithubRepo> repositories = new ArrayList<GithubRepo>() {{
        add(new GithubRepo());
    }};
    repositoriesPresenter.repositories = repositories;
    // when
    List<GithubRepo> presenterRepos = repositoriesPresenter.getRepositories();
    // then
    assertThat(repositories).isEqualTo(presenterRepos);
}