@Test public void should_create_valid_project_url() { String projectUrl = builder.getProject("project54"); assertEquals(TEAM_CITY_URL + "/app/rest/projects/id:project54", projectUrl); }
String getProject(String projectId) { return build("/projects/id:" + projectId); }
TeamCityUrlBuilder { String getProject(String projectId) { return build("/projects/id:" + projectId); } }
TeamCityUrlBuilder { String getProject(String projectId) { return build("/projects/id:" + projectId); } TeamCityUrlBuilder(String teamCityUrl); }
TeamCityUrlBuilder { String getProject(String projectId) { return build("/projects/id:" + projectId); } TeamCityUrlBuilder(String teamCityUrl);  }
TeamCityUrlBuilder { String getProject(String projectId) { return build("/projects/id:" + projectId); } TeamCityUrlBuilder(String teamCityUrl);   }