public static SubstituteForBuilder <T> InjectProperties <T>(this SubstituteForBuilder <T> builder)
     where T : class
 => builder.ConfigureSubstitute((t, ctx) =>
 {
     ctx.InjectUnsetProperties(t);
     AutoPropertyInjectorMockHandler.Instance.OnMockCreated(t, typeof(T), ctx, builder.Context);
 });
        /// <summary>
        /// Configures the auto-generated instance of <typeparamref name="T"/> to not call the base method for any of the methods.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="builder"></param>
        /// <returns></returns>
        public static SubstituteForBuilder <T> DoNotCallBase <T>(this SubstituteForBuilder <T> builder)
            where T : class
        => builder.ConfigureSubstitute(t =>
        {
            var router = SubstitutionContext.Current.GetCallRouterFor(t);

            router.CallBaseByDefault = false;
        });