### Question:
InclusionDependencyRanking extends Ranking { protected void calculateUniquenessRatios(InclusionDependencyResult result) { float referenceUniqueRatio = calculateUniquenessRatio( this.tableInformationMap.get(result.getReferencedTableName()), result.getReferenced().getColumnIdentifiers()); result.setReferencedUniquenessRatio(referenceUniqueRatio); float dependantUniqueRatio = calculateUniquenessRatio( this.tableInformationMap.get(result.getDependantTableName()), result.getDependant().getColumnIdentifiers()); result.setDependantUniquenessRatio(dependantUniqueRatio); } InclusionDependencyRanking(List<InclusionDependencyResult> results,
                                    Map<String, TableInformation> tableInformationMap); @Override void calculateDataIndependentRankings(); @Override void calculateDataDependentRankings();  }### Answer:
@Test public void testCalculateUniquenessRatios() throws Exception { InclusionDependencyRanking ranking = new InclusionDependencyRanking(inclusionDependencyResults, tableInformationMap); InclusionDependencyResult result = inclusionDependencyResults.get(2); ranking.calculateUniquenessRatios(result); assertEquals(0.0, result.getDependantUniquenessRatio(), 0.0); assertEquals(0.0, result.getReferencedUniquenessRatio(), 0.0); }