How do you test private/internal members in .NET?
Test private members indirectly through public methods. For internal members, use the
[InternalsVisibleTo] attribute to expose them to test assemblies.
Test private members indirectly through public methods. For internal members, use the
[InternalsVisibleTo] attribute to expose them to test assemblies.