示例#1
0
        public void Update_ExitActionInvalidActionType_Failure()
        {
            _tempUser.ClearPendingChanges();

            _tempUser.ExitAction                = ActionTypes.Invalid;
            _tempUser.ExitTargetConversation    = ConversationNames.PHInterview;
            _tempUser.ExitTargetHandlerObjectId = _tempUser.ObjectId;

            var res = _tempUser.Update();

            Assert.IsFalse(res.Success, "Setting exit action to an illegal action did not fail");
        }