private void TestDispose() { sessionJsonImpl.Dispose(); // Verify proper resources are closed envelopeEncryptionMock.Verify(x => x.Dispose()); }