QuantumProcessor extends AbstractProcessor { @Override public SourceVersion getSupportedSourceVersion() { return SourceVersion.latestSupported(); }  @Override Set<String> getSupportedAnnotationTypes(); @Override SourceVersion getSupportedSourceVersion(); @Override synchronized void init(ProcessingEnvironment processingEnv); @Override boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv);  }
@Test public void shouldGetLatestSupportedSourceVersion() { assertThat(processor.getSupportedSourceVersion(), is(SourceVersion.latestSupported())); }