@Test
public void testGetPatientsDemographicsNoName()
{

  expectedException.expect(SystemException.class);
  expectedException.expectMessage("FHIR validation failed - No Patient.name.text defined");
  final Bundle result = new Bundle();
  final Bundle.Entry entry1 = getPatientResultBundleEntry(
      "patient1",
      null,
      new DateTime(2016, 3, 3, 0, 0),
      AdministrativeGenderEnum.FEMALE);
  result.addEntry(entry1);
  mockFhirClientResult(result);
  patientDemographicsProvider.getPatientsDemographics(Lists.newArrayList("patient1"));
}