public void Read_NotThrowsException_StateIsValid()
        {
            var authorizationCodeKey = new AuthorizationCodeTableEntity
            {
                CodeId = "normal",
            };
            var authorizationCodeRepository = new AuthorizationCodeRepository(TestEnvironment.DBSettings);
            var authorizationCode           = authorizationCodeRepository.Read(authorizationCodeKey);

            Assert.IsNotNull(authorizationCode);
        }
        public void Update_NotThrowsException_StateIsValid()
        {
            var authorizationCodeKey = new AuthorizationCodeTableEntity
            {
                CodeId = "normal",
            };
            var authorizationCodeRepository = new AuthorizationCodeRepository(TestEnvironment.DBSettings);
            var authorizationCode           = authorizationCodeRepository.Read(authorizationCodeKey);

            authorizationCode.UpdateTime = DateUtil.Now;
            Assert.IsTrue(authorizationCodeRepository.Update(authorizationCode));
        }