### Question:
PatientResource implements Patient, Serializable { public static PatientResource toPatientResource(Patient patient) { return PatientResource.builder() .id(patient.getId()) .name(patient.getName()) .nameFather(patient.getNameFather()) .dateOfBirth(patient.getDateOfBirth()) .gender(patient.getGender()) .address(patient.getAddress()) .build(); }  static PatientResource toPatientResource(Patient patient);  }### Answer:
@Test public void should_build_patient_resource() { givenPatient(); PatientResource r = PatientResource.toPatientResource(patient); assertAllPropertiesEqual(Patient.class, patient, r); }