From 6a93ed9199db57337a0182a84025d3fcbb841533 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 20 Sep 2016 23:10:15 +0100 Subject: [PATCH] ImmutableNodeItemTest:: don't pass null to setParent in test --- src/test/java/net/kemitix/node/ImmutableNodeItemTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/net/kemitix/node/ImmutableNodeItemTest.java b/src/test/java/net/kemitix/node/ImmutableNodeItemTest.java index 91eee8a..c4c4bc7 100644 --- a/src/test/java/net/kemitix/node/ImmutableNodeItemTest.java +++ b/src/test/java/net/kemitix/node/ImmutableNodeItemTest.java @@ -126,7 +126,7 @@ public class ImmutableNodeItemTest { immutableNode = Nodes.asImmutable(Nodes.unnamedRoot("subject")); expectImmutableException(); //when - immutableNode.setParent(null); + immutableNode.setParent(Nodes.unnamedRoot("child")); } @Test