### Question:
FunctionalDependencyResultAnalyzer extends ResultAnalyzer<FunctionalDependency, FunctionalDependencyResult> { protected BitSet getDependantBitSet(FunctionalDependencyResult result) { String tableName = result.getDependantTableName(); String columnName = result.getDependant().getColumnIdentifier(); try { return this.tableInformationMap.get(tableName).getColumnInformationMap().get(columnName) .getBitSet(); } catch (Exception e) { return new BitSet(); } } FunctionalDependencyResultAnalyzer(List<RelationalInputGenerator> inputGenerators,
                                            boolean useDataIndependentStatistics); @Override List<FunctionalDependencyResult> convertResults(
    List<FunctionalDependency> prevResults); List<FunctionalDependencyResult> extendDependantSide(
    List<FunctionalDependencyResult> results);  }### Answer:
@Test public void testGetDependantBitSet() throws InputGenerationException, InputIterationException, AlgorithmConfigurationException { FunctionalDependencyResultAnalyzer analyzer = new FunctionalDependencyResultAnalyzer(this.generators, false); BitSet expectedBitSet = new BitSet(); expectedBitSet.set(3); BitSet actualBitSet = analyzer.getDependantBitSet(this.results.get(1)); assertEquals(expectedBitSet, actualBitSet); expectedBitSet = new BitSet(); expectedBitSet.set(4); actualBitSet = analyzer.getDependantBitSet(this.results.get(2)); assertEquals(expectedBitSet, actualBitSet); }