@Test
 public void idTest() {
   II id = clinicalDocument.getId();
   assertNotNull(id);
   assertEquals(Constants.Runtime.VALID_DEMOGRAPHIC.toString(), id.getExtension());
   assertFalse(EverestUtils.isNullorEmptyorWhitespace(id.getRoot()));
 }
  public EntryRelationship getEntryRelationship(String value) {
    entryRelationship.setTypeCode(x_ActRelationshipEntryRelationship.SUBJ);
    entryRelationship.setContextConductionInd(true);
    entryRelationship.setTemplateId(
        Arrays.asList(new II(Constants.ObservationOids.UNBOUND_OBSERVATION_TEMPLATE_ID)));

    observation.setMoodCode(x_ActMoodDocumentObservation.Eventoccurrence);
    observation.getCode().setCodeEx(Constants.ObservationType.UNBOUND.toString());

    ED text = new ED();
    if (!EverestUtils.isNullorEmptyorWhitespace(value)) {
      text.setData(value);
    } else {
      text.setNullFlavor(NullFlavor.NoInformation);
    }
    observation.setText(text);

    return entryRelationship;
  }
 @Test
 public void titleTest() {
   ST title = clinicalDocument.getTitle();
   assertNotNull(title);
   assertFalse(EverestUtils.isNullorEmptyorWhitespace(title.getValue()));
 }