Package org.apache.sling.junit.rules
Class OSGiService<T>
java.lang.Object
org.apache.sling.junit.rules.Service
org.apache.sling.junit.rules.OSGiService<T>
- All Implemented Interfaces:
org.junit.rules.TestRule
Improved variant of the Service class that uses generics.
The {#link TeleporterRule} also provides access to OSGi
services for server-side tests, in a more integrated way.
-
Method Summary
Methods inherited from class org.apache.sling.junit.rules.Service
apply, getService
-
Method Details
-
ofClass
-
get
-