Hiya,
I'm wanting to write some Unit Tests for a new interceptor I'm
building. Looking through the docs I'm not quite sure how I can call
this in through ColdBox.
I'm seeing things like registerInterceptor but I'm not really wanting
to test this as an interceptor, not yet anyway. I want to make sure
that logic of the object is working first by having it there in
isolation.
Am I best just calling this in through createObject() or is there a
way I can bring this in through ColdBox instead?
Cheers,
James.
P.S. I don't have this registered in an IoC, and trying to avoid that
for this. It's a simple thing I've built for managing Javascript
detection on sessionStart and preEvent