I have an MXUnit test. I want to test the service object. The service
object uses ColdBox autowiring to set various things.
AFAIK this prevents me from using createobject in the MXUnit test as I
normally would.
In the Handler it looks like simply putting "<cfproperty
name="ServiceObject="model:ServiceObject" /> is enough to make Coldbox
create it w/the autowiring. If I put that line in my MXUnit file I get
an error "Element CBCONTROLLER is undefined in APPLICATION" . So my
question is how to I get access to an autowired object in my MXUnit
test?
BTW the MXUnit object extends
"coldbox.system.extras.testing.baseMXUnitTest"
Thanks,
Jim
On Jun 21, 3:29 pm, Luis Majano <
lmaj...@gmail.com> wrote:
> Can you expand your question, what are you trying to do and where?
>