@Test public void format_date_time_null_safe() { assertThat(DateUtils.formatDateTimeNullSafe(new Date())).startsWith("20"); assertThat(DateUtils.formatDateTimeNullSafe(new Date()).length()).isGreaterThan(20); assertThat(DateUtils.formatDateTimeNullSafe(null)).isEmpty(); }