[
https://issues.apache.org/jira/browse/SLING-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert resolved SLING-4202.
-----------------------------------
Resolution: Fixed
Completed: At revision: 1641954
> 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
> Assignee: 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)