Board Thread:Lua Help/@comment-24473195-20140813090251/@comment-11733175-20140813095353

Frame is a bit harder to fake. You can fake the args table, but you can fake any of the methods, e.g. preprocess, getParent, etc.

To fake the args table you do something like: local myFrame = { args = { 'foo', 'bar', 'baz' } } =p.foo( myFrame )

>> 'foo'