Don't have Telegram yet? Try it now!
https://nishantrana.me/2016/05/08/unit-testing-microsoft-fakes-retrievesharedprincipalsandaccessresponse-in-plugin-in-crm-2016-and-earlier/
Unit Testing (Microsoft Fakes) RetrieveSharedPrincipalsAndAccessResponse in Plugin in CRM 2016 (and earlier)