* Test creation of a CA with ThreadLocal-behaviour works if the thread ensures creation.
* @throws InterruptedException
*/
public final void testCreateComponentAdapterWorksForDifferentThreads() throws InterruptedException {
final ComponentAdapterFactory componentAdapterFactory = new ThreadLocalComponentAdapterFactory(
new ConstructorInjectionComponentAdapterFactory(), ThreadLocalComponentAdapterFactory.THREAD_ENSURES_LOCALITY);
final ComponentAdapter componentAdapter = componentAdapterFactory.createComponentAdapter(
List.class, ArrayList.class, new Parameter[]{});
final List list = (List)componentAdapter.getComponentInstance(null);
list.add(this);
final List list2 = new ArrayList();