public void ProxyFiltersWithRuntimePolicyOn([Frozen] IExecutionTimer timer, ActionInvoker.GetFilters <T> sut, IAlternateMethodContext context)
        {
            sut.NewImplementation(context);

            timer.Verify(t => t.Time(It.IsAny <Action>()));
            context.Verify(c => c.ReturnValue);
        }
        public void ProceedAndReturnWithRuntimePolicyOff(ActionInvoker.GetFilters <T> sut, IAlternateMethodContext context)
        {
            context.Setup(c => c.RuntimePolicyStrategy).Returns(() => RuntimePolicy.Off);

            sut.NewImplementation(context);

            context.Verify(c => c.Proceed());
            context.Verify(c => c.ReturnValue, Times.Never());
        }