mercredi 15 mars 2017

How to mock User IPrincipal in Asp.Net Web Forms

I have Asp.Net Web Forms application and I have unit tests for my pages. How I can mock User in my application? I tried to find the HttpContext on the page, but I could not.

Aucun commentaire:

Enregistrer un commentaire