### Question:
MultiformatDateField extends DateField { public List<String> getAlternativeFormat() { return Arrays.asList(getState().getAlternativeFormats()); } MultiformatDateField();  MultiformatDateField(String caption, LocalDate value);  MultiformatDateField(String caption);  MultiformatDateField(
            ValueChangeListener<LocalDate> valueChangeListener);  MultiformatDateField(String caption,
            ValueChangeListener<LocalDate> valueChangeListener);  MultiformatDateField(String caption, LocalDate value,
            ValueChangeListener<LocalDate> valueChangeListener); @Override void setDateFormat(String dateFormat); void setAlternativeFormats(List<String> formats); void addAlternativeFormat(String formatString); List<String> getAlternativeFormat();  }### Answer:
@Test public void testSetDateFormat_NoSpecialDateFormatSet() { MultiformatDateField multiformatDateField = new MultiformatDateField(); String dateFormat = multiformatDateField.getDateFormat(); List<String> alternativeFormat = multiformatDateField.getAlternativeFormat(); assertThat(dateFormat, is(nullValue())); assertThat(alternativeFormat, is(empty())); }