lundi 6 avril 2015

How to mock the custom class in unit testing?

I am doing the unit testing of application service using Xunit.net.


My unit test case is not getting partially executed because of following statement:

StringCipher stringCipher = new StringCipher();


StringCipher is class in which I have written the logic for password encryption and decryption.


Please let me know how can I resolve this issue?


Aucun commentaire:

Enregistrer un commentaire