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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!