Exomiser { public AnalysisBuilder getAnalysisBuilder() { return analysisFactory.getAnalysisBuilder(); } @Autowired  Exomiser(AnalysisFactory analysisFactory); AnalysisBuilder getAnalysisBuilder(); AnalysisResults run(Analysis analysis);  }
@Test public void canGetAnalysisBuilder() { AnalysisBuilder analysisBuilder = instance.getAnalysisBuilder(); assertThat(analysisBuilder, instanceOf(AnalysisBuilder.class)); }