### Question:
JdbcSpittleRepository implements SpittleRepository { public List<Spittle> findBySpitterId(long spitterId) { return jdbcTemplate.query(SELECT_SPITTLES_BY_SPITTER_ID, new SpittleRowMapper(), spitterId); } @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 public void findBySpitter() { List<Spittle> spittles = spittleRepository.findBySpitterId(4L); assertEquals(11, spittles.size()); for (int i = 0; i < 11; i++) { assertEquals(15-i, spittles.get(i).getId().longValue()); } }