### Question:
AbstractJdbcRepository extends NamedParameterJdbcDaoSupport { protected static String dateTimeForDB(LocalDateTime time) { return Time.forStorage(time); } protected  AbstractJdbcRepository(DataSource dataSource);   }### Answer:
@Test public void dateTimeForDB_null() { assertNull(dateTimeForDB(null)); }
@Test public void dateTimeForDB_ok() { assertEquals("2014-05-22T22:07:10", dateTimeForDB(LocalDateTime.of(2014, 5, 22, 22, 7, 10))); }