All Questions
Tagged with initialization inheritance
1 question
3
votes
4
answers
2k
views
Initializing derived classes in the same way
I have a class Base that has several children, say A, B, C. For testing purposes I'd like to mock those derived classes by deriving from them. So MockA derives from A, MockB derives from B and so on.
...