In the process of upgrading Trails I ran across
something in TP4 that I'm not sure how to do. I have
components which get services and so I would like to
inject them using the new Hivemind integration. It
works, but testing is a problem. Previously, I
declared properties for these services with an
abstract setter and getter method. I then was able to
use the setter to specify a (possibly mock) instance
of my service in unit test my class. However, with
injection it does not implement the setter method when
it enhances my classes and complains about it being
there. If I remove the abstract setter method things
work fine, but my test is now broke. Any ideas?
Thanks in advance,
Chris
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]