@Test
public void shouldReturnNullForFutureDate() {

    Date futureDate = new Date(System.currentTimeMillis() + 1000000);
    String formatted = DateUtils.friendlyFormat(RuntimeEnvironment.application, futureDate);
    assertThat(formatted, nullValue());
}