The Interfaces UsesVariables (i.e. method getVariablesUsed) and SetsVariables (i.e. method getVariablesSet) declare the variables used and modfied by a custom assertion.
I want to be sure that my custom assertion does not use/overwrite variables unintentional. Therefore I use a "namespace" like myassertion.variablename. Even better would be when the user of the assertion can choose the variable names by himself. Like in the Split Variable assertion where I can choose a source and target variable.
How would I implement this? I see the use of a variable prefix in the Salesforce example. Would it be possible to post parts of the Split variable assertion to have an example for this?
Thanks
Stephan