Class ServiceRegistrationRule

java.lang.Object
org.codice.ddf.test.common.rules.ServiceRegistrationRule
All Implemented Interfaces:
org.junit.rules.MethodRule

public class ServiceRegistrationRule extends Object implements org.junit.rules.MethodRule
Test rule used to create mock OSGi services for all fields annotated with MockOsgiService.
  • 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:
      apply in interface org.junit.rules.MethodRule