public void addChild(Entry entry) {
		childEntries.add(entry);
		entry.setParent(this);
	}
@Test 
	public void findsParentComponent(){
		Component component = mock(Component.class);
		Entry structureWithEntry = new Entry();
		new EntryAccessor().setComponent(structureWithEntry, component);
		final Entry child = new Entry();
		structureWithEntry.addChild(child);
		
		assertThat(new EntryAccessor().getAncestorComponent(child), equalTo(component));
	}