@Test public void should_create_valid_build_type_url() { String buildTypeUrl = builder.getBuildType("bt296"); assertEquals(TEAM_CITY_URL + "/app/rest/buildTypes/id:bt296", buildTypeUrl); }
String getBuildType(String buildTypeId) { return build("/buildTypes/id:" + buildTypeId); }
TeamCityUrlBuilder { String getBuildType(String buildTypeId) { return build("/buildTypes/id:" + buildTypeId); } }
TeamCityUrlBuilder { String getBuildType(String buildTypeId) { return build("/buildTypes/id:" + buildTypeId); } TeamCityUrlBuilder(String teamCityUrl); }
TeamCityUrlBuilder { String getBuildType(String buildTypeId) { return build("/buildTypes/id:" + buildTypeId); } TeamCityUrlBuilder(String teamCityUrl);  }
TeamCityUrlBuilder { String getBuildType(String buildTypeId) { return build("/buildTypes/id:" + buildTypeId); } TeamCityUrlBuilder(String teamCityUrl);   }