DateConvertUtils { private DateConvertUtils() { } private  DateConvertUtils(); static Timestamp convertToTimestamp(java.util.Date date); static java.sql.Date convertToSqlDate(java.util.Date date); static Time convertToTime(java.util.Date date);  }
@Test public void testDateConvertUtils() throws Exception { Constructor<DateConvertUtils> constructor = DateConvertUtils.class .getDeclaredConstructor(); assertThat(constructor.isAccessible(), is(false)); constructor.setAccessible(true); assertThat(constructor.newInstance(), notNullValue()); constructor.setAccessible(false); }