@Test
  public void requestsSingularBuildChangesForTeamCitySevenApi() {
    final BuildDetail buildDetail = buildDetail(1);
    channel.respondingWith(
        "http://foo" + buildDetail.changes.href, contentFrom("tc_7.0.0_changes_1.json"));

    final List<Change> changes = communicator.changesOf(buildDetail);
    assertThat(changes, is(Matchers.<Change>iterableWithSize(1)));
    assertThat(changes.get(0).id, is("62889"));
  }
  @Test
  public void requestsMultipleBuildChangesForTeamCitySixApi() {
    final BuildDetail buildDetail = buildDetail(2);
    channel.respondingWith(
        "http://foo" + buildDetail.changes.href,
        contentFrom("tc_6.5.5_changes_2.json").replace("@", ""));

    final List<Change> changes = communicator.changesOf(buildDetail);
    assertThat(changes, is(Matchers.<Change>iterableWithSize(2)));
    assertThat(changes.get(0).id, is("47951"));
    assertThat(changes.get(1).id, is("47949"));
  }