public void addChild(Entry entry) {
		childEntries.add(entry);
		entry.setParent(this);
	}
@Test 
	public void findsAncestorComponent(){
		Component component = mock(Component.class);
		Entry structureWithEntry = new Entry();
		new EntryAccessor().setComponent(structureWithEntry, component);
		final Entry level1child = new Entry();
		structureWithEntry.addChild(level1child);
		
		final Entry level2child = new Entry();
		level1child.addChild(level2child);

		assertThat(new EntryAccessor().getAncestorComponent(level2child), equalTo(component));
	}