public void CryptoProviderCacheDispose()
        {
            TestUtilities.WriteHeader($"{this}.CryptoProviderCacheDispose");
            var context = new CompareContext();
            var cache   = new InMemoryCryptoProviderCachePublic();

            cache.Dispose();

            if (!cache.DisposeCalled)
            {
                context.AddDiff("InMemoryCryptoProviderCachePublic was not properly disposed of.");
            }

            TestUtilities.AssertFailIfErrors(context);
        }
 public void Dispose()
 {
     InMemoryCryptoProviderCachePublic?.Dispose();
 }