### Question:
Hospital { public boolean addTransplantProgramFor(Organ organ) { return transplantPrograms.add(organ); } protected  Hospital();  Hospital(String name, double latitude, double longitude, String address);  Hospital(String name, double latitude, double longitude, String address, Set<Organ> transplantPrograms); static Set<Hospital> getDefaultHospitals(); static Hospital getNearestHospitalToRegion(Region region, Iterable<Hospital> hospitals); static Hospital getHospitalForClient(Client client, Iterable<Hospital> hospitals); @Override String toString(); Long getId(); void setId(Long id); String getName(); double getLatitude(); double getLongitude(); String getAddress(); void setConfig(Config config); Set<Organ> getTransplantPrograms(); void setTransplantPrograms(Set<Organ> transplantPrograms); boolean transplantProgramsIsNull(); boolean addTransplantProgramFor(Organ organ); boolean removeTransplantProgramFor(Organ organ); boolean hasTransplantProgram(Organ organ); double calculateDistanceTo(Hospital hospital); double calculateDistanceTo(Region region); Duration calculateTimeTo(Hospital otherHospital, double speedInKMH); Duration calculateTimeTo(Hospital otherHospital); Hospital getNearestWithTransplantProgram(Organ organ, Iterable<Hospital> hospitals); @Override boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test public void testAddTransplantProgramFor() { assertEquals(0, hospital.getTransplantPrograms().size()); assertTrue(hospital.addTransplantProgramFor(organ)); assertEquals(1, hospital.getTransplantPrograms().size()); }