@Test
public void testReassignGeneToMostPhenotypicallySimilarGeneInAnnotationsVariantInUnKnownGeneIsNotAltered() {

    addPriorityResultWithScore(gene1, 1d);
    addPriorityResultWithScore(gene2, 0d);
    TopologicalDomain tad = makeTad(1, 1, 20000, gene1, gene2);
    instance = makeInstance(PriorityType.HIPHIVE_PRIORITY, tad);
    Gene noKnownGene = new Gene(".", -1);
    VariantEvaluation variant = regulatoryVariantInTad(tad, noKnownGene);
    instance.reassignGeneToMostPhenotypicallySimilarGeneInAnnotations(variant);
    assertThat(variant, isAssignedTo(noKnownGene));
    assertThat(variant.getVariantEffect(), equalTo(VariantEffect.REGULATORY_REGION_VARIANT));
}