I have a listener like this:
@InjectService(“FooService”)
public abstract FooService getFooService();
public void doSomething()
{
FooService fs = getFooService();
fs.doBar();
}
Can I inject a mock FooService into the component for testing purposes without
having to change hivemodule.xml to go between test and deployment?
Thanks for your help,
Rob
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.0/306 - Release Date: 4/9/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]