@Test
public void testSetParent() {

	Element parent = new Element("id");
	Element element = new Element("other id");
	element.setParent(parent);
	Assert.assertTrue(parent == element.getParent());
	Assert.assertFalse(element == element.getParent());
}