### Question:
SystemTimeSpeech { @Intent() public String time(Map<String, EntityData> entities) { return ITIS + this.environment.getCurrentLocalDateTime().toLocalTime().format(DateTimeFormatter.ofPattern("HH:mm")) + "."; }  @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 testTime() { when(this.environment.getCurrentLocalDateTime()).thenReturn(this.ldt); assertThat(this.speech.time(new HashMap<>()), equalToIgnoringWhiteSpace("It is 20:15.")); }