@Test
public void variantInGeneNotAssociatedAnyTad() {

    addPriorityResultWithScore(gene1, 1d);
    addPriorityResultWithScore(gene2, 0d);
    TopologicalDomain tad = makeTad(1, 1, 20000, gene1);
    instance = makeInstance(PriorityType.HIPHIVE_PRIORITY, tad);
    VariantEvaluation variant = variant(2, 999999, "A", "G", VariantEffect.REGULATORY_REGION_VARIANT, gene2);
    instance.reassignRegulatoryRegionVariantToMostPhenotypicallySimilarGeneInTad(variant);
    assertThat(variant, isAssignedTo(gene2));
}