Unit-Testing OSGi-Components

I’m currently thinking of “How to design an OSGi component so that it’s easy to write tests for it with frameworks like jUnit and Mockito”. Mocking inter-bundle-dependencies is quite easy since …