@Test
public void testContextExtensionBaseClassMatch() {

    Runnable runnable = () -> {
    };
    ContextExtension extension = new ContextExtension();
    extension.put(runnable);
    AntennaContext context =
            createContext(new AntennaContext.ContextBuilder().setContextExtensions(extension));
    assertThat(context.getGeneric(Runnable.class)).contains(runnable);
    assertThat(context.getGeneric(Object.class)).contains(runnable);
}