@Test(expected = AssertionError.class)
public void testChildNodeWithIncompatibleMemoryObjectCannotBeAdded() {

  MemoryObjectTreeNode<TestMemoryObject> node = new MemoryObjectTreeNode<>(new TestMemoryObject());
  MutableTreeNode child = new DefaultMutableTreeNode();
  node.insert(child, 0);
}