SearchUtils { public static final String formatDate(Date d) { return DF.format(d); } private  SearchUtils(); static final String padInt(Number num, Padding padding); static final String formatDate(Date d); static final String makeCompoundField(String delimiter, String... term); static final Query createLuceneQuery(SearchQuery searchQuery); static final Query createLuceneQuery(Operator operator, SearchQuery searchQuery); static final Query createLuceneQuery(Operator operator, CompositeSearchQuery query); static final Sort createLuceneSort(SearchQuery searchQuery);  }
@Test public void testFormatDate_1() throws Exception { Date d = new Date(); String result = SearchUtils.formatDate(d); assertNotNull(result); }