[
https://issues.apache.org/jira/browse/SLING-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert closed SLING-4202.
---------------------------------
Assignee: (was: Stefan Seifert)
> OSGi Mock: Fail-fast when mandatory references cannot be injected
> -----------------------------------------------------------------
>
> Key: SLING-4202
> URL: https://issues.apache.org/jira/browse/SLING-4202
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Affects Versions: Testing OSGi Mock 1.0.0
> Reporter: Stefan Seifert
> Priority: Minor
> Labels: mocks
> Fix For: Testing OSGi Mock 1.1.0
>
>
> currently only WARN messages are logged when mandory service references
> cannot be injected, or more than one reference exists for an unary reference.
> the injectServices methods should throw an exception in this case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)