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