@Test
public void testContextExtensionDirectMatch() {

    ContextExtension extension = new ContextExtension();
    JsonBean bean = new JsonBean();
    extension.put(bean);
    AntennaContext context =
            createContext(new AntennaContext.ContextBuilder().setContextExtensions(extension));
    assertThat(context.getGeneric(JsonBean.class)).contains(bean);
}