@Test public void shouldUpdate() throws Exception { VaccineDisease disease = new VaccineDisease(); disease.setId(2L); repository.update(disease); verify(mapper).update(disease); }
public void update(VaccineDisease disease){ mapper.update(disease); }
DiseaseRepository { public void update(VaccineDisease disease){ mapper.update(disease); } }
DiseaseRepository { public void update(VaccineDisease disease){ mapper.update(disease); }  }
DiseaseRepository { public void update(VaccineDisease disease){ mapper.update(disease); }  void update(VaccineDisease disease); void insert(VaccineDisease disease); List<VaccineDisease> getAll(); VaccineDisease getById(Long id); }
DiseaseRepository { public void update(VaccineDisease disease){ mapper.update(disease); }  void update(VaccineDisease disease); void insert(VaccineDisease disease); List<VaccineDisease> getAll(); VaccineDisease getById(Long id);  }