Hi
Assume I have an Interface A and a class B that implements A. Within my test class I create a dummy class that implements A and I “test the Interface methods” now my question is should I test the methods that class B “gets” from the interface.
Hi Assume I have an Interface A and a class B that implements A.
Share
In my experience, you just test concrete classes and their interaction with interfaces.
That is, if you have concrete class B that implements A, you just test B and its interaction with other objects it references.