@Test
public void testStripOrphanFromOneAncestor() {

	Item parent = new Item();
	parent.setId("parent");
	parent.setChildren(
		new ArrayList<>(Arrays.asList(orphan))
	);
	
	Item expectedParent = Item.copyValues(parent, null);
	//remove child
	expectedParent.setChildren(null);
	
	List<Item> expectedItems = new ArrayList<>(Arrays.asList(expectedParent));
	
	List<Item> ancestors = new ArrayList<>(Arrays.asList(parent));
	List<Item> actualItems = ItemUtil.stripOrphanFromAncestors(orphan, ancestors);
	assertEquals(expectedItems, actualItems);
}