I have a protected static sub-class that I use for DataAccess. Its locked down so that no other part of the application/code can access or is aware of the database. I'm doing the unit tests for the host class and I need to Mock the protected static sub-class so that there are no database calls in the unit test. How do I do that and check occurances? Thanks.
public partial class Manager{ protected static class DataAccess { public static void CallMyStoredProcedure() { } }}