You could use InternalsVisibleToAttribute, to allow your unit tests access.