Mockito: mocked Jdbc template.queryForObject to return Timestamp

后端 未结 0 1534
无人共我
无人共我 2021-01-26 08:02

Codes to test:

String sql = "select lock_until from shedlock where NAME=?";
Timestamp lockUntil = jdbcTemplate.queryForObject(sql, new Object[] {tasknam         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题