Package org.apache.sling.junit.jupiter.osgi
@Version("1.1.0")
package org.apache.sling.junit.jupiter.osgi
-
ClassDescriptionOSGi test annotation, for running unit tests within OSGi frameworks.The
@Serviceannotation is to be used for test classes or methods annotated with the@OSGiannotation.The cardinality of a service being injected is controlled via the type of the injected parameter and additionally via the@Serviceannotation'scardinalityattribute.Utility annotation used to allow the@Serviceannotation to be repeatable.