I am attempting to test the configuration of my application that uses Spring and OSGi. I am trying to do so without a real OSGi Container. I am trying to simply mock my BundleContext and create some sort of Bean Factory that will read my XML, to verify the correctness of my configuration.
Ironically, it would seem that Spring is not built with dependency injection and I don't see how to create the test I intend to create.
Aucun commentaire:
Enregistrer un commentaire