@Test public void shouldGetById() throws Exception { service.getById(2L); verify(mapper).getById(2L); }
public VaccineDisease getById(Long id){ return repository.getById(id); }
DiseaseService { public VaccineDisease getById(Long id){ return repository.getById(id); } }
DiseaseService { public VaccineDisease getById(Long id){ return repository.getById(id); }  }
DiseaseService { public VaccineDisease getById(Long id){ return repository.getById(id); }  List<VaccineDisease> getAll(); void save(VaccineDisease disease); VaccineDisease getById(Long id); }
DiseaseService { public VaccineDisease getById(Long id){ return repository.getById(id); }  List<VaccineDisease> getAll(); void save(VaccineDisease disease); VaccineDisease getById(Long id);  }