Question: Hi i need help implementing the proper code for a JUnit test within my code for eclipse oxygen: package medical.com.medicalApplication.model; import static org.junit.Assert.*; import org.junit.Test;
Hi i need help implementing the proper code for a JUnit test within my code for eclipse oxygen:
package medical.com.medicalApplication.model;
import static org.junit.Assert.*;
import org.junit.Test;
public class MedicalRecord {
private Patient patient; private PatientHistory history; public MedicalRecord(Patient patient) { super(); this.patient = patient; this.history = new PatientHistory(); }
public Patient getPatient() { return patient; }
public PatientHistory getHistory() { return history; } }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
