### Question:
SuppressModernizerAnnotationDetector { public static Set<String> detect(File file) throws IOException { SuppressModernizerAnnotationDetector detector = new SuppressModernizerAnnotationDetector(); detector.detectInternal(file); return detector.computeSuppressedClassNames(); } private  SuppressModernizerAnnotationDetector(); static Set<String> detect(File file);  }### Answer:
@Test public void itDetectsSuppressModernizerAnnotation() throws IOException { Set<String> actual = SuppressModernizerAnnotationDetector.detect( SuppressedOnClass.class, SuppressedOnClass.InnerClass.class, SuppressedOnMembers.class, SuppressedOnMembers.InnerClass.class ); assertThat(new TreeSet<String>(actual)).containsExactly( SuppressedOnClass.class.getName().replace('.', '/'), SuppressedOnClass.InnerClass.class.getName().replace('.', '/'), SuppressedOnMembers.InnerClass.class.getName().replace('.', '/') ); }