@Version("3.6.0")
Package org.apache.sling.testing.mock.osgi
Mock implementation of selected OSGi APIs.
-
Class Summary Class Description ComponentContextBuilder Builds a mockedComponentContext
.DictionaryCollector<K,V> ManifestScanner Scan METAINF/MANIFEST.MF files.MapUtil Map util methods.MockBundle MockBundle
implementation.MockEventAdmin Mock implementation ofEventAdmin
.MockOsgi Factory for mock OSGi objects. -
Exception Summary Exception Description 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.