public void IssueTokenTest()
        {
            MockRepository mocks = new MockRepository();

            ITokenVolatileDataProvider volatileDataProvider = mocks.StrictMock<ITokenVolatileDataProvider>();
            Expect.Call(volatileDataProvider.GetVolatileData()).Return("testVolatileData");

            mocks.ReplayAll();

            EncryptionTokenProvider target = new EncryptionTokenProvider(
                new StringCryptoTransformer(
                    new NameValueSectionConfigurationProvider(ConfigSectionsResource.DefaultStringEncryptorSectionName)),
                    new NameValueSectionConfigurationProvider(ConfigSectionsResource.DefaultEncryptionTokenProviderSectionName),
                    volatileDataProvider);

            string tokenSource = "testSource";
            string expected = "n0EZVRe/bDyS3UGa0Y//VO7L0RiFrs+e8er2ilpHypC9r1+Yn2YLfjChc+CG16aV8kA6TJcs2CVnZfXps+pfNgu1woKqrP6WjV+GnnWiv1GyEeMMQBhLqlK+SeiqZuY2";
            string actual;
            actual = target.IssueToken(tokenSource);

            Trace.WriteLine("Token:" + actual);

            mocks.VerifyAll();

            Assert.AreEqual(expected, actual);
            
        }
        public void EncryptionTokenProviderConstructorTest()
        {
            EncryptionTokenProvider target = new EncryptionTokenProvider(
                new StringCryptoTransformer(
                    new NameValueSectionConfigurationProvider(ConfigSectionsResource.DefaultStringEncryptorSectionName)),
                    new NameValueSectionConfigurationProvider(ConfigSectionsResource.DefaultEncryptionTokenProviderSectionName));

        }