### Question:
CalendarConverter implements AtlasConverter<Calendar> { @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME) public Date toDate(Calendar calendar) { return calendar != null ? calendar.getTime() : null; }  @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME) Date toDate(Calendar calendar); @AtlasConversionInfo(sourceType = FieldType.DATE_TIME_TZ, targetType = FieldType.DATE_TIME_TZ) ZonedDateTime toZonedDateTime(Calendar calendar);  }### Answer:
@Test public void toDate() { Date date = converter.toDate(Calendar.getInstance()); assertNotNull(date); }