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