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

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

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