예제 #1
0
        public void TestCommandBase()
        {
            Csla.ApplicationContext.GlobalContext.Clear();
            CommandObject obj = new CommandObject();

            Assert.AreEqual("Executed", obj.ExecuteServerCode().AProperty);
        }
예제 #2
0
파일: BasicTests.cs 프로젝트: mlivensp/csla
        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);
        }