assertThat(changes.get(1).id, is("62854"));
}
private BuildDetail buildDetail(int size) {
final BuildDetail buildDetail = new BuildDetail();
buildDetail.changes = new ChangesHref();
buildDetail.changes.count = size;
buildDetail.changes.href = "/app/rest/changes/id:12345";
return buildDetail;
}