[
https://issues.apache.org/jira/browse/SLING-4901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert resolved SLING-4901.
-----------------------------------
Resolution: Fixed
Completed: At revision: 1692452
> osgi-mock: Add support for ComponentContext.getUsingBundle()
> ------------------------------------------------------------
>
> Key: SLING-4901
> URL: https://issues.apache.org/jira/browse/SLING-4901
> Project: Sling
> Issue Type: New Feature
> Components: Testing
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Minor
> Labels: mocks
> Fix For: Testing OSGi Mock 1.4.0
>
>
> the method throws UnsupportedOperationException.
> it should return null if no using bundle is set. optionally it should be
> possible to set a using bundle for a mocked component context to simulate
> bundle-scoped services.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)