@Test
public void getKnownGenes() throws Exception {

    List<Gene> allGenes = TestGeneFactory.buildGenes();
    Mockito.when(geneFactory.createKnownGenes()).thenReturn(allGenes);
    assertThat(instance.getKnownGenes(), equalTo(allGenes));
}