mardi 6 septembre 2016

Ways to make classes unit testable having dependency on resources

I have a class which is dependent on a resource string. It accesses, for example, a resource string as var str = Resources.INCORRECT_PASSWORD;. What is the correct way to use resources so that the class becomes unit testable?

Aucun commentaire:

Enregistrer un commentaire