[
https://issues.apache.org/jira/browse/SLING-4738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SLING-4738:
-----------------------------------
Summary: MockValueMap should also throw UOE for modification operations
(was: MockValueMap should also throw UOE for remove(), put())
> MockValueMap should also throw UOE for modification operations
> --------------------------------------------------------------
>
> 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
> Labels: mocks
>
> 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)