Example #1
0
  @Test
  public void testId() {
    assertNotNull(p1.getMrn());
    assertNotNull(p2.getMrn());

    assertEquals(testId, p2.getMrn());

    assertFalse(p1.getMrn().equals(ModelFactory.createPatient().getMrn()));
  }
Example #2
0
 @Test
 public void testName() {
   assertEquals("Jane Doe", p2.getName());
 }