advanceMeasurements);
Collections.sort(list, new AdvanceMeasurementComparator());
Collections.reverse(list);
Iterator<AdvanceMeasurement> iterator = list.iterator();
AdvanceMeasurement next = iterator.next();
assertThat(next.getDate(), equalTo(one));
assertThat(next.getValue(), equalTo(new BigDecimal(6)));
// FIXME real value should be: 6.66
next = iterator.next();
assertThat(next.getDate(), equalTo(two));
assertThat(next.getValue(), equalTo(new BigDecimal(9)));
// FIXME real value should be: 10
next = iterator.next();
assertThat(next.getDate(), equalTo(three));
assertThat(next.getValue(), equalTo(new BigDecimal(12)));
// FIXME real value should be: 13.33
next = iterator.next();
assertThat(next.getDate(), equalTo(four));
assertThat(next.getValue(), equalTo(new BigDecimal(24)));
// FIXME real value should be: 26.66
next = iterator.next();
assertThat(next.getDate(), equalTo(five));
assertThat(next.getValue(), equalTo(new BigDecimal(44)));
// FIXME real value should be: 46.66
}