public void TestSync()
        {
            this.Configuration = Configuration.Default;
            if (string.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("api_key")))
            {
                Configuration.Default.ApiKey.Add("api_key", apiKey);
            }
            if (string.IsNullOrEmpty(Configuration.GetApiKeyWithPrefix("sign")))
            {
                Configuration.Default.ApiKey.Add("sign", apiSecret);
            }

            KeyInfo    apiKeyInfo    = new KeyInfo();
            APIKeyBase resultKeyInfo = apiKeyInfo.CallApi();

            Assert.Equal(apiKey, resultKeyInfo.Result[0].ApiKey, false, false, false);
            Assert.Equal(userId, resultKeyInfo.Result[0].UserId);
            Assert.Equal(readOnly, resultKeyInfo.Result[0].ReadOnly);
            Assert.Equal(note, resultKeyInfo.Result[0].Note, false, false, false);
        }