### Question:
VitalsEntity implements Vitals { public static VitalsEntity toVitalsEntity(Vitals vitals) { return VitalsEntity.builder() .id(vitals.getId()) .visitId(vitals.getVisitId()) .time(vitals.getTime()) .systolicInMmHg(vitals.getSystolicInMmHg()) .diastolicInMmHg(vitals.getDiastolicInMmHg()) .temperatureInF(vitals.getTemperatureInF()) .pulseInBpm(vitals.getPulseInBpm()) .weightInKg(vitals.getWeightInKg()) .build(); } VitalsEntity(Visit visit); static VitalsEntity toVitalsEntity(Vitals vitals);  }### Answer:
@Test public void should_build_patient_entity() { Vitals vitals = buildVitals(); VitalsEntity e = VitalsEntity.toVitalsEntity(vitals); assertAllPropertiesEqual(Vitals.class, vitals, e); }