You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Markus Heer (JIRA)" <ji...@apache.org> on 2015/07/02 11:31:05 UTC
[jira] [Created] (SLING-4850) MockValueMap should implement
containsKey
Markus Heer created SLING-4850:
----------------------------------
Summary: MockValueMap should implement containsKey
Key: SLING-4850
URL: https://issues.apache.org/jira/browse/SLING-4850
Project: Sling
Issue Type: Improvement
Components: Testing
Reporter: Markus Heer
Priority: Minor
MockValueMap inherits ValueMapDecorator which uses an underlying map.
Methods using that map do not take care of the deep path features of the MockValueMap.
Eg. mockValueMap.containsKey("path/property") returns false even when mockValueMap.get("path/property", ... returns the property value.
MockValueMap should therefore override methods like containsKey.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)