jeudi 3 mars 2016

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