@Test
public void findExtensionAnnotationThatMissing() throws Exception {

    Compilation compilation = javac().compile(ExtensionAnnotationProcessorTest.Greeting,
        ExtensionAnnotationProcessorTest.SpinnakerExtension_NoExtension,
        ExtensionAnnotationProcessorTest.WhazzupGreeting_SpinnakerExtension);
    assertThat(compilation).succeededWithoutWarnings();
    ImmutableList<JavaFileObject> generatedFiles = compilation.generatedFiles();
    assertEquals(3, generatedFiles.size());
    JavaFileObjectClassLoader classLoader = new JavaFileObjectClassLoader();
    Map<String, Class<?>> loadedClasses = classLoader.loadClasses(new ArrayList<>(generatedFiles));
    Class<?> clazz = loadedClasses.get("test.WhazzupGreeting");
    Extension extension = AbstractExtensionFinder.findExtensionAnnotation(clazz);
    assertNull(extension);
}