You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2015/08/24 09:13:45 UTC

[jira] [Closed] (SLING-4850) MockValueMap should implement containsKey

     [ https://issues.apache.org/jira/browse/SLING-4850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seifert closed SLING-4850.
---------------------------------

> MockValueMap should implement containsKey
> -----------------------------------------
>
>                 Key: SLING-4850
>                 URL: https://issues.apache.org/jira/browse/SLING-4850
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Testing ResourceResolver Mock 1.1.6
>            Reporter: Markus Heer
>            Assignee: Stefan Seifert
>            Priority: Minor
>             Fix For: Testing ResourceResolver Mock 1.1.8
>
>
> 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)