.Net Tips – using InternalsVisibleTo attribute to help testing non-public methods
Oh, the Pain! For a long time, unit testing non-public methods in C# has been a pain in the back side. In order to test a non-public method (most likely private methods) you have a number of choices each with an undesired effect: The easiest way out is to make the methods public. However, this …
.Net Tips – using InternalsVisibleTo attribute to help testing non-public methods Read More »