A ManagedComponent getManagedComponent(ComponentType type, String name) could be added. The component name is not something that will be known in general though, so I'm not sure how useful in general this would be. The testcase has to know how the name is derived from the deployment, and currently this is the deployment descriptor. That will change when the jca deployer changes.
So in our project, we would have already gotten all the names, then later when the user wants to update one thing, then the method will come in handy. The other option is that in our code we have that same code that is in the UnitTest.
Yeah, ok, I guess that would be the normal interaction for an admin tool. I'll add the method.