@Override
    public File getFile(TransientBlobKey key) throws IOException {
        return getFileInternal(null, key);
    }
@Test
    void transientBlobCacheChecksForCorruptedBlobsAtStart(@TempDir Path storageDirectory)
            throws IOException {
        final JobID jobId = new JobID();

        final TransientBlobKey blobKey =
                TestingBlobUtils.writeTransientBlob(
                        storageDirectory, jobId, new byte[] {1, 2, 3, 4});
        FileUtils.writeByteArrayToFile(
                new File(
                        BlobUtils.getStorageLocationPath(
                                storageDirectory.toString(), jobId, blobKey)),
                new byte[] {4, 3, 2, 1});

        try (final TransientBlobCache transientBlobCache =
                new TransientBlobCache(new Configuration(), storageDirectory.toFile(), null)) {
            assertThatThrownBy(() -> transientBlobCache.getFile(jobId, blobKey))
                    .isInstanceOf(IOException.class);
        }
    }