SQLServiceConfig { @Bean public SQLService sqlService() { return new SQLService(new SQLSyntaxParser(), analyzer(), storageEngine, executionEngine); }  @Bean Analyzer analyzer(); @Bean SQLService sqlService();  }
@Test public void shouldReturnSQLService() { SQLServiceConfig config = new SQLServiceConfig(); assertNotNull(config.sqlService()); }