@Test public void testSchema() throws Exception { final SchemaCrawlerOptions schemaCrawlerOptions = (SchemaCrawlerOptions) appContext.getBean("schemaCrawlerOptions"); final Schema schema = testUtility.getSchema(schemaCrawlerOptions, "PUBLIC"); assertNotNull("Could not obtain schema", schema); assertEquals("Unexpected number of tables in the schema", 6, schema.getTables().length); }