private void TestCreateNonceHappyPath() { const int numBits = BitsPerByte * NumBytes; byte[] nonce1 = generator.CreateNonce(numBits); byte[] nonce2 = generator.CreateNonce(numBits); Assert.Equal(NumBytes, nonce1.Length); Assert.Equal(NumBytes, nonce2.Length); Assert.NotEqual(nonce1, nonce2); }