What is the easiest way to test method which have URLConnection
What is the easiest way to test method which have URLConnection? The problem is, I need to get an InputStream from this URLConnection. So I have no idea how to mock this classes due URL is final class.
Aucun commentaire:
Enregistrer un commentaire