final SchemaServiceActivator schemaServiceActivator = new SchemaServiceActivator();
schemaServiceActivator.start(bundleContext);
- final ServiceRegistration registration = mock(ServiceRegistration.class);
+ final ServiceRegistration<?> registration = mock(ServiceRegistration.class);
final OsgiBundleScanningSchemaService osgiBundle =
mock(OsgiBundleScanningSchemaService.class, CALLS_REAL_METHODS);
verify(osgiBundle).close();
}
+ @SuppressWarnings("checkstyle:IllegalCatch")
@After
@Before
public void destroyInstance() throws Exception {