Chetan Mehrotra created SLING-4472:
--------------------------------------
Summary: MockBundleContent.getProperty should return null
Key: SLING-4472
URL: https://issues.apache.org/jira/browse/SLING-4472
Project: Sling
Issue Type: Improvement
Components: Testing
Affects Versions: Testing OSGi Mock 1.2.0
Reporter: Chetan Mehrotra
Priority: Minor
{{MockBundleContext.getProperty}} currently throws
{{UnsupportedOperationException}}. Instead if it can return null that would
allow some scenarios to be tested where logic checks for Framework properties.
Or if possible allow passing of Properties to represent Framework properties
say why delegating to System property to passing an explicit set of properties
while instantiate {{MockBundleContext}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)