Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Currently MockBundle throws "UnsupportedOperation" for getVersion().
It would be useful for certain rarer cases to have a call to that method.
I'd like to suggest the following:
- add a method setVersion(...)
- throw Illegalstate("no version set") if version == null
- return version if set without any exception
Attachments
Issue Links
- duplicates
-
SLING-11913 Implement MockBundle.getVersion
- Closed
- links to