@Test
public void geneInNetworkClosestHit() {

    GeneModelPhenotypeMatch bestModel = geneModelMatch(5, 0.7, "MONDO:5");
    ArrayListMultimap<Integer, GeneModelPhenotypeMatch> bestGeneModels = ArrayListMultimap.create();
    bestGeneModels.put(bestModel.getEntrezGeneId(), bestModel);
    HiPhiveProteinInteractionScorer instance = new HiPhiveProteinInteractionScorer(dataMatrix, bestGeneModels, HIGH_QUALITY_PHENO_SCORE_CUT_OFF);
    int queryGeneId = 6;
    GeneMatch closestPhenoMatchInNetwork = instance.getClosestPhenoMatchInNetwork(queryGeneId);
    assertThat(closestPhenoMatchInNetwork.getQueryGeneId(), equalTo(queryGeneId));
    assertThat(closestPhenoMatchInNetwork.getMatchGeneId(), equalTo(bestModel.getEntrezGeneId()));
    assertThat(closestPhenoMatchInNetwork.getScore(), closeTo(0.57d, 0.001));
    assertThat(closestPhenoMatchInNetwork.getBestMatchModels(), equalTo(ImmutableList.of(bestModel)));
}