factory.defineObject( Object1.class.getSimpleName(), Object1.class.getName(), Scope.GLOBAL );
factory.defineObject( BadObjectRuntime.class.getSimpleName(), BadObjectRuntime.class.getName(), Scope.GLOBAL );
factory.defineObject( BadObject.class.getSimpleName(), BadObject.class.getName(), Scope.GLOBAL );
IPentahoSession session1 = new StandaloneSession( "test user 1" ); //$NON-NLS-1$
IPentahoSession session2 = new StandaloneSession( "test user 2" ); //$NON-NLS-1$
Object1 obj1 = factory.get( Object1.class, session1 );
assertNotNull( "Object is null", obj1 ); //$NON-NLS-1$
Object1 obj2 = factory.get( Object1.class, session2 );