<p>I'm building a class library that will have some public &amp; private methods. I want to be able to unit test the private methods (mostly while developing, but also it could be useful for future refactoring).</p>

<p>What is the correct way to do this?</p>

Declare them
```
internal
```
, and then use the
```
InternalsVisibleToAttribute
```
to allow your unit test assembly to see them.