def METHOD_NAME(self, tmp_h5_single_dataset: Path):
    graph = Graph()
    opExport = OpDataExport(graph=graph)
    try:
        opExport.TransactionSlot.setValue(True)
        opExport.WorkingDirectory.setValue(self._tmpdir)
        rawInfo = FilesystemDatasetInfo(
            filePath=str(tmp_h5_single_dataset / "test_group/test_data"), nickname="test_nickname"
        )
        opExport.RawDatasetInfo.setValue(rawInfo)
        opExport.SelectionNames.setValue(["Mock Export Data"])
        data = numpy.random.random((100, 100)).astype(numpy.float32) * 100
        data = vigra.taggedView(data, vigra.defaultAxistags("xy"))
        opExport.Inputs.resize(1)
        opExport.Inputs[0].setValue(data)
        sub_roi = [(10, 20), (90, 80)]
        opExport.RegionStart.setValue(sub_roi[0])
        opExport.RegionStop.setValue(sub_roi[1])
        opExport.ExportDtype.setValue(numpy.uint8)
        opExport.OutputFormat.setValue("hdf5")
        opExport.OutputFilenameFormat.setValue(
            "{dataset_dir}/{nickname}_export_x{x_start}-{x_stop}_y{y_start}-{y_stop}"
        )
        opExport.OutputInternalPath.setValue("volume/data")
        assert opExport.ImageToExport.ready()
        assert opExport.ExportPath.ready()
        expected_path = tmp_h5_single_dataset.parent.joinpath(
            rawInfo.nickname + "_export_x10-90_y20-80.h5/volume/data"
        ).as_posix()
        computed_path = opExport.ExportPath.value
        assert os.path.normpath(computed_path) == os.path.normpath(expected_path)
        opExport.run_export()
    finally:
        opExport.cleanUp()
    opRead = OpInputDataReader(graph=graph)
    try:
        opRead.FilePath.setValue(computed_path)
        # Compare with the correct subregion and convert dtype.
        expected_data = data.view(numpy.ndarray)[roiToSlice(*sub_roi)]
        expected_data = expected_data.astype(numpy.uint8)
        read_data = opRead.Output[:].wait()
        assert (read_data == expected_data).all(), "Read data didn't match exported data!"
    finally:
        opRead.cleanUp()