@Test
public void testGetPatientsDemographicsNoBirthDate()
{

  expectedException.expect(SystemException.class);
  expectedException.expectMessage("No Patient.birthDate defined");
  final Bundle result = new Bundle();
  final Bundle.Entry entry1 = getPatientResultBundleEntry(
      "patient1",
      "Patient Name1",
      null,
      AdministrativeGenderEnum.FEMALE);
  result.addEntry(entry1);
  mockFhirClientResult(result);
  patientDemographicsProvider.getPatientsDemographics(Lists.newArrayList("patient1"));
}