TeamCityUrlBuilder { String getVersion() { return build("/version"); } TeamCityUrlBuilder(String teamCityUrl);   }
@Test public void should_create_valid_version() { String versionUrl = builder.getVersion(); assertEquals(TEAM_CITY_URL + "/app/rest/version", versionUrl); }