If that's the case, then getMember should get invoked if, for instance, the test first creates an instance of the Foo bean (to enforce injection) and invokes some dummy method on it (in case there is lazy init, not sure how this works in OWB). But I think Tomas tried this and it still didn't work for OWB. |