### Question:
SystemTimeSpeech { @Intent() public String date(Map<String, EntityData> entities) { return ITIS + "the " + ordinal(this.environment.getCurrentLocalDateTime().getDayOfMonth()) + " of " + this.environment.getCurrentLocalDateTime().getMonth().getDisplayName(TextStyle.FULL, Locale.ENGLISH) + "."; }  @Intent() String time(Map<String, EntityData> entities); @Intent() String date(Map<String, EntityData> entities); @Intent String year(Map<String, EntityData> entities); @Intent String dayOfWeek(Map<String, EntityData> entities); @Intent String howManyDays(Map<String, EntityData> entities); static String ordinal(int i);  }### Answer:
@Test void testDate() { when(this.environment.getCurrentLocalDateTime()).thenReturn(this.ldt); assertThat(this.speech.date(new HashMap<>()), equalToIgnoringWhiteSpace("It is the 20th of august.")); }