public List<Analyzer> getAnalyzers() {
        return getAnalyzers(AnalysisPhase.values());
    }
@Test
    public void testGetAnalyzers_SpecificPhases() throws Exception {
        AnalyzerService instance = new AnalyzerService(Thread.currentThread().getContextClassLoader(), getSettings());
        List<Analyzer> result = instance.getAnalyzers(INITIAL, FINAL);

        for (Analyzer a : result) {
            if (a.getAnalysisPhase() != INITIAL && a.getAnalysisPhase() != FINAL) {
                fail("Only expecting analyzers for phases " + INITIAL + " and " + FINAL);
            }
        }
    }