Given you have an abstract base class with non-public member, and a derived class with other non-public member too. Now you want to unit-test some of the non-public member (methods) of the derived class. Prior the call of the method of the derived class, you need to set some non-public …
Continue reading “Accessing Non-Public Member of Abstract Base Classes in Unit Tests”