Unit Test – How to test a Private method in C#
In this post, we will see how to test a Private method in C#, using Reflection.In unit testing, the conventional wisdom is to test the public interface of a class. This means that private methods, which are implementation details, are typically tested indirectly through public methods. However, there are times when we might want to… Read More »