### Question:
QuarterUtils { public static TemporalAdjuster nextQuarterAdjuster() { return temporal -> { if (temporal.get(IsoFields.QUARTER_OF_YEAR) == 4) { return temporal.with(ChronoField.MONTH_OF_YEAR, 1) .with(ChronoField.YEAR, (temporal).get(ChronoField.YEAR) + 1); } else { return temporal.with(ChronoField.MONTH_OF_YEAR, getFirstMonthOfQuarter(temporal.get(IsoFields.QUARTER_OF_YEAR) + 1).getValue()); } }; }  static boolean isFirstMonthOfQuarter(LocalDate date); static YearMonth getYearQuarter(int year, int quarter); static boolean isBeginOfQuarter(LocalDate date); static boolean isEndOfQuarter(LocalDate date); static int getQuarter(LocalDate date); static Month getFirstMonthOfQuarter(int quarter); static LocalDate getFirstDayOfQuarter(int year, int quarter); static LocalDate getFirstDayOfQuarter(int epochDay); static LocalDate getFirstDayOfQuarter(LocalDate date); static LocalDate getLastDayOfQuarter(int epochDay); static LocalDate getLastDayOfQuarter(LocalDate date); static LocalDate getLastDayOfQuarter(int year, int quarter); static CDateRange fromQuarter(int year, int quarter); static CDateRange fromDate(LocalDate date); static TemporalAdjuster nextQuarterAdjuster(); static TemporalAdjuster firstMonthInQuarterAdjuster(); static TemporalAdjuster firstDayOfQuarterAdjuster(); static TemporalAdjuster lastDayOfQuarterAdjuster();  }### Answer:
@Test void nextQuarterAdjuster() { assertThat(QuarterUtils.nextQuarterAdjuster().adjustInto(YearMonth.of(2018, 1))) .isEqualTo(YearMonth.of(2018, 4)); assertThat(QuarterUtils.nextQuarterAdjuster().adjustInto(YearMonth.of(2018, 2))) .isEqualTo(YearMonth.of(2018, 4)); assertThat(QuarterUtils.nextQuarterAdjuster().adjustInto(YearMonth.of(2018, 4))) .isEqualTo(YearMonth.of(2018, 7)); assertThat(QuarterUtils.nextQuarterAdjuster().adjustInto(YearMonth.of(2018, 6))) .isEqualTo(YearMonth.of(2018, 7)); assertThat(QuarterUtils.nextQuarterAdjuster().adjustInto(LocalDate.of(2018, 6, 25))) .isEqualTo(LocalDate.of(2018, 7, 25)); assertThat(QuarterUtils.nextQuarterAdjuster().adjustInto(LocalDate.of(2018, 12, 25))) .isEqualTo(LocalDate.of(2019, 1, 25)); }