I need to unit-test a virtual method defined in an abstract class. But the base class is abstract, so I can't create an instance of it. What do you recommend me to do?
I am thinking about if it is possible to test via an instance of a subclass of the abstract class. Is it a good way? How can I do it?
Thanks.
Aucun commentaire:
Enregistrer un commentaire