@Test public void testId() { assertNotNull(p1.getMrn()); assertNotNull(p2.getMrn()); assertEquals(testId, p2.getMrn()); assertFalse(p1.getMrn().equals(ModelFactory.createPatient().getMrn())); }
@Before public void setUp() { p1 = ModelFactory.createPatient(); p2 = ModelFactory.createPatient(testId, "Jane Doe", 32); }