On my project, I set:
[assembly: InternalsVisibleTo("xyz")]
My unit tests work when my class and method are public.