-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Testing Sling Mock 2.5.0
-
Component/s: Testing
-
Labels:None
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
- relates to
-
SLING-9373 osgi-mock, jcr-mock, sling-mock: Remove compile dependency to guava
-
- Closed
-