public void testGlobalObjectFail2() throws Exception {
StandaloneObjectFactory factory = new StandaloneObjectFactory();
factory.defineObject( Object2.class.getSimpleName(), Object2.class.getName(), Scope.GLOBAL, null );
IPentahoSession session1 = new StandaloneSession( "test user 1" ); //$NON-NLS-1$
try {
factory.get( Object2.class, session1 );
assertTrue( "Exception expected", false ); //$NON-NLS-1$
} catch ( NullPointerException e ) {