/** Test method: void addFile(String) */ public void testStartupXML() { MetadataRoot root = SessionManager.getMetadataRoot(); if (root == null) { fail("Metadata root not loaded"); } // Make sure we have at least one schema or model if (!root.getModels().hasNext()) { fail( "Metadata root has no schema or model. Check that you have " + "correctly specified the file paths in the xmlFiles parameter " + "in the init script you are using."); } }