TopologicalDomain implements ChromosomalRegion { @Override public int getChromosome() { return chromosome; } TopologicalDomain(int chromosome, int start, int end, Map<String, Integer> genes); @Override int getChromosome(); @Override int getStart(); @Override int getEnd(); Map<String, Integer> getGenes(); boolean containsPosition(VariantCoordinates variantCoordinates); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testGetChromosome() { instance = new TopologicalDomain(1, 0, 0, new HashMap<>()); assertThat(instance.getChromosome(), equalTo(1)); }