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)