@Test void runSpider() throws Exception { final Spider spider = new Spider(); spider.execute(configuration); verify(resultReceiver, atLeastOnce()).receiveResult(ind.capture()); assertThat(ind.getAllValues()) .hasSize(1) .first() .isEqualTo(expectedInd()); }
public void execute(final SpiderConfiguration configuration) throws AlgorithmExecutionException { this.configuration = configuration; final List<TableInfo> table = tableInfoFactory .create(configuration.getRelationalInputGenerators(), configuration.getTableInputGenerators()); initializeAttributes(table); calculateInclusionDependencies(); collectResults(); shutdown(); }
Spider { public void execute(final SpiderConfiguration configuration) throws AlgorithmExecutionException { this.configuration = configuration; final List<TableInfo> table = tableInfoFactory .create(configuration.getRelationalInputGenerators(), configuration.getTableInputGenerators()); initializeAttributes(table); calculateInclusionDependencies(); collectResults(); shutdown(); } }
Spider { public void execute(final SpiderConfiguration configuration) throws AlgorithmExecutionException { this.configuration = configuration; final List<TableInfo> table = tableInfoFactory .create(configuration.getRelationalInputGenerators(), configuration.getTableInputGenerators()); initializeAttributes(table); calculateInclusionDependencies(); collectResults(); shutdown(); } Spider(); }
Spider { public void execute(final SpiderConfiguration configuration) throws AlgorithmExecutionException { this.configuration = configuration; final List<TableInfo> table = tableInfoFactory .create(configuration.getRelationalInputGenerators(), configuration.getTableInputGenerators()); initializeAttributes(table); calculateInclusionDependencies(); collectResults(); shutdown(); } Spider(); void execute(final SpiderConfiguration configuration); }
Spider { public void execute(final SpiderConfiguration configuration) throws AlgorithmExecutionException { this.configuration = configuration; final List<TableInfo> table = tableInfoFactory .create(configuration.getRelationalInputGenerators(), configuration.getTableInputGenerators()); initializeAttributes(table); calculateInclusionDependencies(); collectResults(); shutdown(); } Spider(); void execute(final SpiderConfiguration configuration);  }