### Question:
JdbcSpittleRepository implements SpittleRepository { public Spittle save(Spittle spittle) { long spittleId = insertSpittleAndReturnId(spittle); return new Spittle(spittleId, spittle.getSpitter(), spittle.getMessage(), spittle.getPostedTime()); } @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 save() { assertEquals(15, spittleRepository.count()); Spitter spitter = spittleRepository.findOne(13).getSpitter(); Spittle spittle = new Spittle(null, spitter, "Un Nuevo Spittle from Art", new Date()); Spittle saved = spittleRepository.save(spittle); assertEquals(16, spittleRepository.count()); assertNewSpittle(saved); assertNewSpittle(spittleRepository.findOne(16L)); }