@Test
public void testRecursiveList() throws Exception {

	List<Object> children = new ArrayList<Object>();
	children.add("x");
	children.add("y");
	children.add("z");
	
	List<Object> parent = new ArrayList<Object>();
	parent.add("a");
	parent.add(children);
	parent.add("b");
	parent.add("c");
	
	List<Object> result = CollectionMethod.recursive(parent);
	
	Assert.assertEquals(6, result.size());
	Assert.assertEquals("a", result.get(0));
	Assert.assertEquals("x", result.get(1));
	Assert.assertEquals("y", result.get(2));
	Assert.assertEquals("z", result.get(3));
	Assert.assertEquals("b", result.get(4));
	Assert.assertEquals("c", result.get(5));
}