@PerfTest(invocations = TOTAL_THREADS, threads = TOTAL_THREADS)
public void getComponentInstanceOfType() throws InterruptedException, BrokenBarrierException
{
// Needed to make sure that all threads start at the same time
startSignal.await();
MyMTClass value = (MyMTClass)container.getComponentInstanceOfType(MyMTClass.class);
currentMyClass.compareAndSet(null, value);
assertEquals(currentMyClass.get(), container.getComponentInstanceOfType(MyMTClass.class));
}