Package org.codice.ddf.test.common.rules
Class ServiceRegistrationRule
java.lang.Object
org.codice.ddf.test.common.rules.ServiceRegistrationRule
- All Implemented Interfaces:
org.junit.rules.MethodRule
Test rule used to create mock OSGi services for all fields annotated with
MockOsgiService.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServiceRegistrationRule
public ServiceRegistrationRule()
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runners.model.FrameworkMethod method, Object target) - Specified by:
applyin interfaceorg.junit.rules.MethodRule
-