RepoViewModel extends BaseObservable { public String getRepoTitle() { return repository.getName(); } RepoViewModel(Repository repository); void setRepository(Repository repository); String getRepoTitle(); String getRepoDescription(); String getWatchers(); String getStars(); String getForks();  }
@Test public void testGetRepoTitle() throws Exception { Assert.assertEquals(mockRepository.getName(), repoViewModel.getRepoTitle()); }