@Test
public void testFindAllComponents_appInstance() {

	ApplicationTemplate tpl = ComplexApplicationFactory1.newApplication();
	Application app = new Application( tpl );
	Assert.assertEquals( 10, ComponentHelpers.findAllComponents( app ).size());
	app = new Application( null );
	Assert.assertEquals( 0, ComponentHelpers.findAllComponents( app ).size());
}