Exemplo n.º 1
0
        public void TestCommandBase()
        {
            Csla.ApplicationContext.GlobalContext.Clear();
            CommandObject obj = new CommandObject();

            Assert.AreEqual("Executed", obj.ExecuteServerCode().AProperty);
        }
Exemplo n.º 2
0
        public void TestCommandBase()
        {
#pragma warning disable CS0618 // Type or member is obsolete
            Csla.ApplicationContext.GlobalContext.Clear();
#pragma warning restore CS0618 // Type or member is obsolete
            CommandObject obj = new CommandObject();
            Assert.AreEqual("Executed", obj.ExecuteServerCode().AProperty);
        }