How to register a project or application component during a test?
Permanently deleted user
创建于
I'd like to register a project component during a test, so project.getComponent(x.class) returns my object. How can I do this? How can I do this for Application as well?
Have you tried:
((ComponentManagerImpl)myModule).registerComponent(componentInterface, componentClass)
I haven't, but maybe it works......