How do I create a new URL object using a local file, for the purpose of unit tests?
URL
new File(path).toURI().toURL();