jeudi 5 février 2015

Mockito - Do i need a tear down?

I have a simple unit test where in I test a subject. I mock the dependency and inject it into the subject through the constructor. Do I need a tear down? Does mockito test exit at the same state it entered the setup method? Please also explain. Please advise.


Aucun commentaire:

Enregistrer un commentaire