HibernateSettingsXml implements IHibernateSettings { public Document getDocument() { return document; } HibernateSettingsXml( File hibernateSettingsXmlFile );  HibernateSettingsXml( String xml );  HibernateSettingsXml( Document doc );  HibernateSettingsXml(); String getHibernateConfigFile(); void setHibernateConfigFile( String hibernateConfigFile ); boolean getHibernateManaged(); void setHibernateManaged( boolean hibernateManaged ); Document getDocument();  }
@Test public void testGetDocument() throws Exception { HibernateSettingsXml xml = new HibernateSettingsXml(); assertNotNull( xml.getDocument() ); }