# Package org.apache.sling.testing.mock.osgi

@Version("3.8.0") package org.apache.sling.testing.mock.osgi
Mock implementation of selected OSGi APIs.

Related Packages
Package
Description
org.apache.sling.testing.mock.osgi.config
OSGi Config Type Parameters core implementation.
org.apache.sling.testing.mock.osgi.context
OSGi context implementation for unit tests.
Class
Description
ComponentContextBuilder
Builds a mocked `ComponentContext`.
DictionaryCollector<K,V>
ManifestScanner
Scan METAINF/MANIFEST.MF files.
MapUtil
Map util methods.
MockBundle
Mock `Bundle` implementation.
MockEventAdmin
Mock implementation of `EventAdmin`.
MockOsgi
Factory for mock OSGi objects.
NoScrMetadataException
Is thrown when a OSGi mock method required SCR metadata and this is not found in the classpath.
ReferenceViolationException
Is thrown when a OSGi reference injection fails due to violated constraints.