ImmutableNodeItemTest:: don't pass null to setParent in test

This commit is contained in:
Paul Campbell 2016-09-20 23:10:15 +01:00
parent c77f9c29d3
commit 6a93ed9199

View file

@ -126,7 +126,7 @@ public class ImmutableNodeItemTest {
immutableNode = Nodes.asImmutable(Nodes.unnamedRoot("subject")); immutableNode = Nodes.asImmutable(Nodes.unnamedRoot("subject"));
expectImmutableException(); expectImmutableException();
//when //when
immutableNode.setParent(null); immutableNode.setParent(Nodes.unnamedRoot("child"));
} }
@Test @Test