MockFactory.createAtomicComponent("comp1", scope, StatelessComponentImpl.class);
scope.register(context1);
SystemAtomicComponent context2 =
MockFactory.createAtomicComponent("comp2", scope, StatelessComponentImpl.class);
scope.register(context2);
StatelessComponentImpl comp1 = (StatelessComponentImpl) scope.getInstance(context1);
Assert.assertNotNull(comp1);
StatelessComponentImpl comp2 = (StatelessComponentImpl) scope.getInstance(context2);
Assert.assertNotNull(comp2);
Assert.assertNotSame(comp1, comp2);
scope.stop();
}