public Path getRoot() {
        if (root == null) {
            throw new IllegalStateException("The temporary folder has not been created yet");
        }

        return root;
    }
A helper class to handle temporary folders in JUnit {@code Extension}s.
testing-internal/src/main/java/com/linecorp/armeria/internal/testing/TemporaryFolder.java