Papoose-test-bundles is a project mainly written in Java, it's free.
Papoose Test OSGi Bundles
Test OSGi bundles for project testing.
<groupId>org.papoose.test.bundles</groupId>
<artifactId>test-share</artifactId>
<version>1.0-SNAPSHOT</version>
A bundle whose bundle activator registers an instance of the Share
service.
The service can be used to share key value pairs between bundles. This can
be useful for test bundles that need to share their internal state when
testing.
<groupId>org.papoose.test.bundles</groupId>
<artifactId>test-share</artifactId>
<version>1.0-SNAPSHOT</version>