Example #1
0
        public void TestDeferredActionGetAction()
        {
            INetworkAction chat = new NetworkAction() {
                ActionType = NetworkActionType.NetworkTextSay
            };

            DeferredAction<INetworkAction> deferredAction = new DeferredAction<INetworkAction>() {
                Action = chat
            };

            Assert.AreEqual(chat.Uid, deferredAction.GetAction().Uid);
        }