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);  }
@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()); }
@Test void runSpiderWithEmptyColumn() throws Exception { final Spider spider = new Spider(); configuration.setProcessEmptyColumns(true); spider.execute(configuration); verify(resultReceiver, atLeastOnce()).receiveResult(ind.capture()); assertThat(ind.getAllValues()) .hasSize(3); }