public void TestDefaults()
        {
            var defaultOptions = RedisDistributedSynchronizationOptionsBuilder.GetOptions(null);

            defaultOptions.RedLockTimeouts.Expiry.ShouldEqual(RedisDistributedSynchronizationOptionsBuilder.DefaultExpiry);
            defaultOptions.RedLockTimeouts.MinValidityTime.ShouldEqual(TimeSpan.FromSeconds(27));
            defaultOptions.ExtensionCadence.ShouldEqual(TimeSpan.FromSeconds(9));
            defaultOptions.MinBusyWaitSleepTime.ShouldEqual(TimeSpan.FromMilliseconds(10));
            defaultOptions.MaxBusyWaitSleepTime.ShouldEqual(TimeSpan.FromMilliseconds(800));
        }
 private static void GetOptions(Action <RedisDistributedSynchronizationOptionsBuilder> options) =>
 RedisDistributedSynchronizationOptionsBuilder.GetOptions(options);