@Test
  public void nonExistentScriptThrowsIOException() throws Exception {
    assertThatThrownBy(
        () -> BackupInspector.createInspector(temporaryFolder.newFolder("emptyFolder")))
            .isInstanceOf(IOException.class)
            .hasMessageMatching("Restore file restore\\.(bat|sh) does not exist.");
  }
Tests that an IOException is thrown for a non-existent restore script.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/backup/BackupInspectorIntegrationTest.java