@Test
public void testEventSort() throws Exception {

  XmlDataExporter xmlDataExporter = new XmlDataExporter(this.bloodShepherdProperties);
  List<InsulinInjection> injections = Collections.emptyList();
  List<FoodEvent> foods = newArrayList();
  foods.add(new FoodEvent(Instant.ofEpochSecond(2000), LocalDateTime.now(), LocalDateTime.now(), 10.25f, 0));
  foods.add(new FoodEvent(Instant.ofEpochSecond(100), LocalDateTime.now(), LocalDateTime.now(), 12.5f, 0));
  List<ExerciseSession> exerciseSessions = Collections.emptyList();
  List<GlucoseRead> emptyGlucoseReads = Collections.emptyList();
  // TODO: Assert that the content is as expected
  xmlDataExporter.exportData(new SyncData(emptyGlucoseReads, injections,
          foods, exerciseSessions, new DeviceInfo("serialNumber", "hId", "hRv"), Instant.now()));
}