@Test public void testGetTeams() { List<Entity> list = teamService.getTeams("The Team"); Assert.assertEquals(2, list.size()); Assert.assertEquals(101, list.get(0).getId()); Assert.assertEquals("1000", list.get(0).getPropertyValue("release-id")); Assert.assertEquals(101, list.get(1).getId()); Assert.assertEquals("1001", list.get(1).getPropertyValue("release-id")); teamService.getTeams("The Team"); }
public List<Entity> getTeams(String teamName) { return getValue(teamName); }
TeamService extends AbstractCachingEntityService<String> { public List<Entity> getTeams(String teamName) { return getValue(teamName); } }
TeamService extends AbstractCachingEntityService<String> { public List<Entity> getTeams(String teamName) { return getValue(teamName); } TeamService(Project project, EntityService entityService); }
TeamService extends AbstractCachingEntityService<String> { public List<Entity> getTeams(String teamName) { return getValue(teamName); } TeamService(Project project, EntityService entityService); Entity getTeam(String teamName, int releaseId); List<Entity> getTeams(String teamName); EntityList getMultipleTeams(List<String> teamNames); }
TeamService extends AbstractCachingEntityService<String> { public List<Entity> getTeams(String teamName) { return getValue(teamName); } TeamService(Project project, EntityService entityService); Entity getTeam(String teamName, int releaseId); List<Entity> getTeams(String teamName); EntityList getMultipleTeams(List<String> teamNames);  }