### Question:
DateTimeService { public ZonedDateTime convertDateToZonedDateTimeEurope(Date date) { return ZonedDateTime.ofInstant(date.toInstant(), ZoneId.of("Europe/Paris")); }  ZonedDateTime getFutureDate(ZonedDateTime timestamp, int numberOfDays, boolean endOfDay); ZonedDateTime getDateTimeNowEurope(); ZonedDateTime getDateTimeNowUTC(); ZonedDateTime getBeginningTimestampOfMonthUTC(final ZonedDateTime zonedDateTime); ZonedDateTime getEndingTimestampOfMonthUTC(ZonedDateTime zonedDateTime); ZonedDateTime getBeginningTimestampOfWeekUTC(ZonedDateTime zonedDateTime); ZonedDateTime getEndingTimestampOfWeekUTC(ZonedDateTime zonedDateTime); ZonedDateTime getBeginningTimestampOfDayUTC(ZonedDateTime zonedDateTime); ZonedDateTime getEndingTimestampOfDayUTC(ZonedDateTime zonedDateTime); ZonedDateTime convertDateToZonedDateTimeEurope(Date date); ZonedDateTime getBeginningOfCurrentYear(); ZonedDateTime getEndingOfCurrentYear(); String getMonthNameFor(ZonedDateTime dateTime);  }### Answer:
@Test public void testConvertDateToZonedDateTimeEurope() { DateTimeService cut = new DateTimeService(); ZonedDateTime utc = ZonedDateTime.of(2017, 6, 19, 22, 0, 0, 0, ZoneId.of("UTC")); Date date = new Date(utc.toEpochSecond() * 1000L); ZonedDateTime expected = ZonedDateTime.of(2017, 6, 20, 0, 0, 0, 0, ZoneId.of("Europe/Paris")); assertThat(cut.convertDateToZonedDateTimeEurope(date), is(expected)); }