Beispiel #1
0
        public void TestDelete()
        {
            Settings.Configure(null);

            var key = new APIKey();

            key.Save();
            Settings.Configure(key.Secret);
            key = new APIKey();
            key.Save();
            Assert.AreEqual(2, APIKey.Query.total);
            key.Delete();
            Assert.AreEqual(1, APIKey.Query.total);
        }