public void FreshToken()
        {
            var token    = VerificationToken.Generate(this.timestamp);
            var timeSpan = new TimeSpan(1, 0, 0);

            Assert.IsTrue(token.IsFresh(timeSpan, this.timestamp.Add(timeSpan)));
            Assert.IsFalse(token.IsFresh(timeSpan, this.timestamp.Add(timeSpan).AddMilliseconds(1)));
        }
        public void DataPreserved()
        {
            var token = VerificationToken.Generate(this.timestamp);

            Assert.AreEqual(this.timestamp, token.Timestamp);

            var parsedToken = VerificationToken.Parse(token.ToString());

            Assert.AreEqual(token.Data, parsedToken.Data);
        }