You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2015/05/22 09:29:17 UTC
[jira] [Created] (SLING-4738) MockValueMap should also throw UOE
for remove(), put()
Konrad Windszus created SLING-4738:
--------------------------------------
Summary: MockValueMap should also throw UOE for remove(), put()
Key: SLING-4738
URL: https://issues.apache.org/jira/browse/SLING-4738
Project: Sling
Issue Type: Improvement
Components: Testing
Affects Versions: Testing ResourceResolver Mock 1.1.0
Reporter: Konrad Windszus
To be closer to the original {{org.apache.sling.jcr.resource.JcrPropertyMap}} the {{org.apache.sling.testing.resourceresolver.MockValueMap}} should not be modifiable. All modification methods like put, putAll, clear and remove should throw {{UnsupportedOperationException}}s.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)