You should not need to mock a protected method. You should really only need to mock the public api of a dependency. You should be able to do whatever you want by mocking directly the method that is being called by your object under test. If your object under test is directly calling the protected method, it should really be changed to public.