@Test public void shouldGetDonorById() throws Exception { repository.getDonorById(1L); verify(mapper).getById(1L); }
public Donor getDonorById(Long id){ return mapper.getById(id); }
DonorRepository { public Donor getDonorById(Long id){ return mapper.getById(id); } }
DonorRepository { public Donor getDonorById(Long id){ return mapper.getById(id); }  }
DonorRepository { public Donor getDonorById(Long id){ return mapper.getById(id); }  List<Donor> getAll(); List<Donor> getAllWithDetails(); void insert(Donor donor); void update(Donor donor); Donor getDonorById(Long id); void removeDonor(Long id); }
DonorRepository { public Donor getDonorById(Long id){ return mapper.getById(id); }  List<Donor> getAll(); List<Donor> getAllWithDetails(); void insert(Donor donor); void update(Donor donor); Donor getDonorById(Long id); void removeDonor(Long id);  }