public void TestSettingVariableCreatedInBAse()
        {
            CustomVariable variable =
                mDerivedElementRuntime.GetCustomVariable("CurrentStateSaveCategoryState");

            ElementRuntime sourceElement;
            string         variableName;

            mDerivedElementRuntime.GetSourceElementAndVariableName(
                variable, out sourceElement, out variableName);

            if (sourceElement != mDerivedElementRuntime)
            {
                throw new Exception("GEtSourceElementAndVariableName should be returning the base ElementRuntime as the containing element but it's not.");
            }



            mDerivedElementRuntime.SetCustomVariable(variable);
        }