@Test
public void testSetParent() {

  MemoryObjectTreeNode<TestMemoryObject> node = new MemoryObjectTreeNode<>(new TestMemoryObject());
  MemoryObjectTreeNode<TestMemoryObject> parent = new MemoryObjectTreeNode<>(new TestMemoryObject());
  assertNull(node.getParent());
  node.setParent(parent);
  assertEquals(parent, node.getParent());
}