public SmithyDiffTestSuite addTestCasesFromUrl(URL url) {
        if (!url.getProtocol().equals("file")) {
            throw new IllegalArgumentException("Only file URLs are supported by the testrunner: " + url);
        }

        try {
            return addTestCasesFromDirectory(Paths.get(url.toURI()));
        } catch (URISyntaxException e) {
            throw new RuntimeException(e);
        }
    }
Convenience method for supplying a directory using a class loader.

@param url URL that contains diff models.
@return Returns the test suite.
@throws IllegalArgumentException if a non-file scheme URL is provided.
@see #addTestCasesFromDirectory
smithy-diff/src/main/java/software/amazon/smithy/diff/testrunner/SmithyDiffTestSuite.java