Пример #1
0
        public void TestDpInsert()
        {
            Single test = null;

            try
            {
                test = Single.NewObject();
            }
            catch { Assert.Inconclusive(); }
            test.Save();
            Assert.AreEqual("Inserted", ApplicationContext.GlobalContext["Single"]);
        }
Пример #2
0
        public void TestDpCreate()
        {
            Single test = Single.NewObject();

            Assert.AreEqual("Created", ApplicationContext.GlobalContext["Single"]);
        }