getORB().createInstance( "com.sun.star.sdb.OfficeDatabaseDocument" ) );
documentURL = impl_copyTempFile( documentURL );
// load the doc, and verify it's initialized then, and has the proper URL
XLoadable loadDoc = (XLoadable)UnoRuntime.queryInterface( XLoadable.class, databaseDoc );
loadDoc.load( new PropertyValue[] { new PropertyValue( "URL", 0, documentURL, PropertyState.DIRECT_VALUE ) } );
databaseDoc.attachResource( documentURL, new PropertyValue[0] );
assureEquals( "wrong URL after loading the document", documentURL, databaseDoc.getURL() );
impl_checkDocumentInitState( databaseDoc, true );
// and while we are here ... initilizing the same document again should not be possible