public void GenerateRandomValue_DisposeHasBeenCalled_ThrowsObjectDisposedException()
        {
            var uat = new SecureRandomContext();

            uat.Dispose();

            var ex = Assert.Throws <ObjectDisposedException>(() => { uat.GenerateRandomValue(0, 1); });

            Assert.That(ex.Message, Does.Contain(uat.GetType().FullName));
        }
        public void Dispose_CalledTwice_DoesNotThrow()
        {
            var uat = new SecureRandomContext();

            Assert.DoesNotThrow(() => { uat.Dispose(); uat.Dispose(); });
        }