Пример #1
0
        public void TestTryGetCurrentCustomVariableValueForState()
        {
            object value;

            mElementRuntime.TryGetCurrentCustomVariableValue("CurrentState", out value);

            if (value == null || !(value is StateSave))
            {
                throw new Exception("This value needs to be non-null.");
            }
        }