[webbeans-dev] DependentContextTest - testDestroyingSimpleParentDestroysDependents
Gurkan Erdogdu
gurkanerdogdu at yahoo.com
Fri Mar 13 16:19:00 EDT 2009
Hi,
In the above test,
@RequestScoped
class Farm
{
@Current Stable stable;
public void open() {};
}
Farm has normal scope, so we do not create its instance before any of its method is called. Therefore we do not inject fields of the Farm. But in the test case, it is assumed to create Farm instance and inject fields. So test fails in our implementation.
Is this normal?
Thanks;
Gurkan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20090313/c5d78145/attachment.html
More information about the weld-dev
mailing list