### Question:
DomELCommonSimpleDateFormats { public static SimpleDateFormat dateFormat() { return new SimpleDateFormat(DATE_FORMAT_STRING); }  static SimpleDateFormat dateFormat(); static SimpleDateFormat timeFormat(); static SimpleDateFormat timestampFormat(); static SimpleDateFormat isoTimestampFormat(); static final String DATE_RANGE_PATTERN_STRING; static final Pattern DATE_RANGE_PATTERN; static final String DATE_FORMAT_STRING; static final String TIMESTAMP_FORMAT_STRING; static final String TIMESTAMP_FORMAT_STRING_NO_MILLISECONDS; static final String ISO_TIMESTAMP_FORMAT_STRING; static final String ISO_TIMESTAMP_FORMAT_STRING_NO_MILLISECONDS; static final String TIME_FORMAT_STRING; static final String TIME_FORMAT_STRING_WITHOUT_MILLISECONDS; }### Answer:
@Test public void dateFormat_return_SimpleDateFormat_based_on_DatePattern() { assertEquals(CommonAdhocDateFormats.DATE_PATTERN, DomELCommonSimpleDateFormats.dateFormat().toPattern()); }