StandaloneSession session = new StandaloneSession();
StandaloneSpringPentahoObjectFactory factory = new StandaloneSpringPentahoObjectFactory();
factory.init( "test-res/solution/system/pentahoObjects.spring.xml", null );
IPentahoObjectReference reference = factory.getObjectReference( MimeTypeListener.class, session );
assertEquals( "30", reference.getAttributes().get( "priority" ) );
assertEquals( ( (MimeTypeListener) reference.getObject() ).name, "Higher Priority MimeTypeListener" );
}