@Test public void should_create_valid_builds_list() { String buildListUrl = builder.getBuildList("bt297"); assertEquals(TEAM_CITY_URL + "/app/rest/buildTypes/id:bt297/builds", buildListUrl); }
String getBuildList(String buildTypeId) { return build("/buildTypes/id:" + buildTypeId + "/builds"); }
TeamCityUrlBuilder { String getBuildList(String buildTypeId) { return build("/buildTypes/id:" + buildTypeId + "/builds"); } }
TeamCityUrlBuilder { String getBuildList(String buildTypeId) { return build("/buildTypes/id:" + buildTypeId + "/builds"); } TeamCityUrlBuilder(String teamCityUrl); }
TeamCityUrlBuilder { String getBuildList(String buildTypeId) { return build("/buildTypes/id:" + buildTypeId + "/builds"); } TeamCityUrlBuilder(String teamCityUrl);  }
TeamCityUrlBuilder { String getBuildList(String buildTypeId) { return build("/buildTypes/id:" + buildTypeId + "/builds"); } TeamCityUrlBuilder(String teamCityUrl);   }