### Question:
JdbcSpittleRepository implements SpittleRepository { public void delete(long id) { jdbcTemplate.update("delete from Spittle where id=?", id); } @Autowired  JdbcSpittleRepository(JdbcTemplate jdbcTemplate); long count(); List<Spittle> findRecent(); List<Spittle> findRecent(int count); Spittle findOne(long id); List<Spittle> findBySpitterId(long spitterId); Spittle save(Spittle spittle); void delete(long id);  }### Answer:
@Test @Transactional public void delete() { assertEquals(15, spittleRepository.count()); assertNotNull(spittleRepository.findOne(13)); spittleRepository.delete(13L); assertEquals(14, spittleRepository.count()); }