Title: RE: Unit testing coldboxproxy event handlers that return a value
Thread: Unit testing coldboxproxy event handlers that return a value
Forum: Need Help?
User: lmajano Hi,
I believe I haven't documented this, sorry. I am in document revision
mode right now. So this will be updated.
The framework creates a special
variable in the event context for you that you can assert to. The name of the
So you can assert by doing
If the value doesn't exist, then it
means, the handler did not return anything.