ResourceListItem resourceListItem = new ResourceListItem(resource, new Availability(resource, new Date(), AvailabilityType.UP));
MeasurementUtils measurementUtils = new MeasurementUtils(resourceListItem);
List<MeasurementData> measurementDataList = measurementUtils.loadMeasurementData(null, DataType.TRAIT);
assert measurementDataList != null : "measurements were null";
assert measurementDataList.size() == 2 : "2 measurement(s) were expected, but " + measurementDataList.size() + " were found.";
for (MeasurementData md : measurementDataList)
{