@Test
public void testAnnotateKnownGenomeVariant() {

    VariantAnnotations variantAnnotations = instance.annotateVariant("10", 123256215, "T", "G");
    assertThat(variantAnnotations.getChrName(), equalTo("10"));
    assertThat(variantAnnotations.getChr(), equalTo(10));
    assertThat(variantAnnotations.getPos(), equalTo(123256214)); //Jannovar uses and returns 0-based coordinates.
    assertThat(variantAnnotations.getRef(), equalTo("T"));
    assertThat(variantAnnotations.getAlt(), equalTo("G"));
    assertThat(variantAnnotations.hasAnnotation(), is(true));
    assertThat(variantAnnotations.getHighestImpactEffect(), equalTo(VariantEffect.MISSENSE_VARIANT));
}