@Test
public void testGetAnnotationsForUnTrimmedDeletionTrimmedWithAllelePosition() {

    int pos = 118608470;
    String ref = "AGTT";
    String alt = "AGT";
    AllelePosition trimmed = AllelePosition.trim(pos, ref, alt);
    VariantAnnotation variantAnnotation = instance.annotate("X", pos, ref, alt);
    System.out.println(variantAnnotation);
    System.out.printf("AnnotationList{pos=%d, ref='%s', alt='%s'}%n", variantAnnotation.getPosition(), variantAnnotation
            .getRef(), variantAnnotation.getAlt());
    System.out.println("Trimmed: " + trimmed);
    assertThat(variantAnnotation.getChromosome(), equalTo(23));
    assertThat(variantAnnotation.getPosition(), equalTo(trimmed.getPos()));
    assertThat(variantAnnotation.getRef(), equalTo(trimmed.getRef()));
    assertThat(variantAnnotation.getAlt(), equalTo(trimmed.getAlt()));
    assertThat(variantAnnotation.hasTranscriptAnnotations(), is(false));
}