Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Testing OSGi Mock 3.2.2
-
None
Description
A reference without specifying a field or method is allowed for a DS component, however with testing mocks this will throw an exception, due to
https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/blob/master/core/src/main/java/org/apache/sling/testing/mock/osgi/OsgiServiceUtil.java#L660