<PackageReference Include="NUnit" Version="4.3.2" />

TestExecutionContext

Helper class used to save and restore certain static or singleton settings in the environment that affect tests or which might be changed by the user tests.
/* Error decompiling System.Security.Principal.IPrincipal NUnit.Framework.Internal.TestExecutionContext::get_CurrentPrincipal() */