OnActivityResultProcessor extends AbstractProcessor { @Override public SourceVersion getSupportedSourceVersion() { return SourceVersion.latestSupported(); }  @Override void init(final ProcessingEnvironment environment); @Override Set<String> getSupportedAnnotationTypes(); @Override boolean process(final Set<? extends TypeElement> elements, final RoundEnvironment environment); @Override SourceVersion getSupportedSourceVersion();  }
@Test public void getSupportedSourceVersion() { final OnActivityResultProcessor onActivityResultProcessor = new OnActivityResultProcessor(); final SourceVersion actual = onActivityResultProcessor.getSupportedSourceVersion(); assertEquals(SourceVersion.latestSupported(), actual); }