public void testChildStart() {
AbstractApplicationContext appContext = EasyMock.createNiceMock(AbstractApplicationContext.class);
replay(appContext);
Service service = EasyMock.createMock(Service.class);
EasyMock.expect(service.getName()).andReturn("foo").anyTimes();
service.start();
service.getInterface();
EasyMock.expectLastCall().andReturn(Object.class);
expect(service.isSystem()).andReturn(false).atLeastOnce();
replay(service);
SpringCompositeComponent component = new SpringCompositeComponent("spring", appContext, null, null, null);