Testing page for firing specific parts of Documentation with tables (only reasonably doable from lua)

testCurrent:
testSandbox:

local doc = require("Module:Documentation")
local docsandbox = require("Module:Documentation/sandbox")

local p = {}

local function generateNotice(page,module)
	return module.sandboxNotice( --args, env
		{},
		module.getEnvironment({page=page})
	)
end

function p.testCurrentSNotice(frame)
	return generateNotice(frame.args.page,doc)
end

function p.testSandboxSNotice(frame)
	return generateNotice(frame.args.page,docsandbox)
end

return p