Details
-
Sub-task
-
Resolution: Outdated
-
Major
-
None
-
3.5 RC2
-
None
-
None
Description
The MockContent class does not support adding multiple nodes with same name, so behaves differently in tests than the actual JCR implementation.
e.g. executing node.createContent("0", ...) twice should create something like:
/node/0
/node/00
Current implemenation stores those childnodes in a HashMap, thus executing the method call above overwrites the child node 0.