public static ReadStudyMetadata readStudyMetadata() {
    return new ReadStudyMetadata();
  }
@Test
  public void test_Dicom_failedMetadataRead() {
    String badWebPath = "foo";

    DicomIO.ReadStudyMetadata.Result retrievedData;
    retrievedData = pipeline.apply(Create.of(badWebPath)).apply(DicomIO.readStudyMetadata());

    PAssert.that(retrievedData.getReadResponse()).empty();

    PAssert.that(retrievedData.getFailedReads())
        .satisfies(
            (errors) -> {
              Assert.assertTrue(errors.iterator().hasNext());
              return null;
            });

    pipeline.run();
  }