NUnit.Framework.Internal.Commands.TestActionHookRunner
Runs a single ITestAction.BeforeTest/AfterTest invocation, wrapping it with the
matching pair of ExecutionHooks callbacks when hooks are enabled for the context.
public static void Run(TestExecutionContext context, Type actionType, string methodName, Action<TestExecutionContext, IMethodInfo> onBeforeHook, Action<TestExecutionContext, IMethodInfo, Exception> onAfterHook, Action run)