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

Stefan Seifert resolved SLING-9374.
-----------------------------------
    Resolution: Fixed

https://github.com/apache/sling-org-apache-sling-testing-sling-mock/commit/59b938d51e52ac23e57dc8a142abfa7da8e3fb6d

implemented together with SLING-9373

> sling-mock: Provide ImmutableValueMap class
> -------------------------------------------
>
>                 Key: SLING-9374
>                 URL: https://issues.apache.org/jira/browse/SLING-9374
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Major
>             Fix For: Testing Sling Mock 2.4.2
>
>
> in unit tests it's often required to provide a map with properties to be used 
> as valuemap.
> to make the code as compact as possible we introduce a class 
> *ImmutableValueMap* featuring the same semantics as the guava ImmutableMap 
> class, but producing an instance of Sling ValueMap.
> it's similar to 
> https://wcm.io/sling/commons/apidocs/io/wcm/sling/commons/resource/ImmutableValueMap.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to