CalendarWeekDayFormatter implements WeekDayFormatter { @Override public CharSequence format(final DayOfWeek dayOfWeek) { return dayOfWeek.getDisplayName(TextStyle.SHORT, Locale.getDefault()); }  @Override CharSequence format(final DayOfWeek dayOfWeek);  }
@Test public void testFormattedDayOfWeek_Sunday() { assertThat(formatter.format(DayOfWeek.SUNDAY).toString(), is("Sun")); }
@Test public void testFormattedDayOfWeek_Monday() { assertThat(formatter.format(DayOfWeek.MONDAY).toString(), is("Mon")); }
@Test public void testFormattedDayOfWeek_Tuesday() { assertThat(formatter.format(DayOfWeek.TUESDAY).toString(), is("Tue")); }
@Test public void testFormattedDayOfWeek_Wednesday() { assertThat(formatter.format(DayOfWeek.WEDNESDAY).toString(), is("Wed")); }
@Test public void testFormattedDayOfWeek_Thursday() { assertThat(formatter.format(DayOfWeek.THURSDAY).toString(), is("Thu")); }
@Test public void testFormattedDayOfWeek_Friday() { assertThat(formatter.format(DayOfWeek.FRIDAY).toString(), is("Fri")); }
@Test public void shouldReturnCorrectFormattedEnglishTextOfSaturday() { assertThat(formatter.format(DayOfWeek.SATURDAY).toString(), is("Sat")); }