### Question:
JdbcSpitterRepository implements SpitterRepository { public Spitter findOne(long id) { return jdbcTemplate.queryForObject( SELECT_SPITTER + " where id=?", new SpitterRowMapper(), id); } @Autowired  JdbcSpitterRepository(JdbcTemplate jdbcTemplate); @CacheEvict(key="123", value = { "spittleCache" }) long count(); @CacheEvict(key="123", value = { "spittleCache" }) Spitter save(Spitter spitter); Spitter findOne(long id); Spitter findByUsername(String username); @Cacheable(key="123", value = { "spittleCache" }) List<Spitter> findAll();  }### Answer:
@Test @Transactional public void findOne() { assertSpitter(0, spitterRepository.findOne(1L)); assertSpitter(1, spitterRepository.findOne(2L)); assertSpitter(2, spitterRepository.findOne(3L)); assertSpitter(3, spitterRepository.findOne(4L)); }