41
InternalsVisibleTo could be useful if you need to test sub parts of your API which you don't want to expose.
However, testing through the public API is preferable since it makes refactoring internal APIs easier. Use InternalsVisibleTo with care and only when appropriate, e.g. the size of the API is significant.