Skip to content
Snippets Groups Projects
Commit 65b690b2 authored by brinn's avatar brinn
Browse files

Fix test expectations.

SVN: 28227
parent 3a6e9c83
No related branches found
No related tags found
No related merge requests found
......@@ -219,13 +219,13 @@ public class VirtualHierarchicalContentTest extends AssertJUnit
one(mergerFactory).createNodeMerger();
will(returnValue(nodeMerger));
one(component1).getNode(relativePath);
one(component1).tryGetNode(relativePath);
will(returnValue(node1));
one(component2).getNode(relativePath);
one(component2).tryGetNode(relativePath);
will(returnValue(node2));
// component3 will not be added to merged nodes
one(component3).getNode(relativePath);
will(throwException(new IllegalArgumentException("")));
one(component3).tryGetNode(relativePath);
will(returnValue(null));
one(nodeMerger).addNode(node1);
one(nodeMerger).addNode(node2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment