StandaloneSession session = new StandaloneSession( "test" );
StandaloneApplicationContext appContext = new StandaloneApplicationContext( "test-res/solution", "" );
StandaloneSpringPentahoObjectFactory factory = new StandaloneSpringPentahoObjectFactory();
factory.init( "test-res/solution/system/pentahoObjects.GlobalListPublisherTest.spring.xml", null );
PentahoSystem.init( appContext );
PentahoSystem.registerObjectFactory( factory );
PentahoSystem.setSystemSettingsService( factory.get( ISystemSettings.class, "systemSettingsService", session ) );
List<ISessionStartupAction> actions = new ArrayList<ISessionStartupAction>();
SessionStartupAction startupAction1 = new SessionStartupAction();
startupAction1.setSessionType( PentahoSystem.SCOPE_GLOBAL );