VariantAnnotation implements Variant { public String getGeneSymbol() { return geneSymbol; } private  VariantAnnotation(Builder builder); GenomeAssembly getGenomeAssembly(); int getChromosome(); String getChromosomeName(); int getPosition(); String getRef(); String getAlt(); String getGeneSymbol(); String getGeneId(); VariantEffect getVariantEffect(); List<TranscriptAnnotation> getTranscriptAnnotations(); @Override boolean hasTranscriptAnnotations(); static VariantAnnotation empty(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder builder();  }
@Test public void getGeneSymbol() { VariantAnnotation instance = VariantAnnotation.builder() .geneSymbol("GENE1") .build(); assertThat(instance.getGeneSymbol(), equalTo("GENE1")); }