@Test
    void switch_statements_are_analyzed() {
        var referencedClasses = analyzeClass(SwitchStatement.class).getReferencedClasses();
        assertTrue(referencedClasses.contains(name(List.class)));
        assertTrue(referencedClasses.contains(name(IllegalArgumentException.class)));
    }
Tests that analysis of class files works.

@author Tony Vaagenes
@author ollivir
bundle-plugin/src/test/java/com/yahoo/container/plugin/classanalysis/AnalyzeClassTest.java