308309310311312313314315316317
} } @Test public void test_getAdaptiveInstance_InjectNotExtFail() throws Exception { InjectExt ext = ExtensionLoader.getExtensionLoader(InjectExt.class).getExtension("impl2"); Ext6Impl2 impl = (Ext6Impl2) ext; assertNull(impl.getList()); }
310311312313314315316317
@Test public void test_getAdaptiveInstance_InjectNotExtFail() throws Exception { InjectExt ext = ExtensionLoader.getExtensionLoader(InjectExt.class).getExtension("impl2"); Ext6Impl2 impl = (Ext6Impl2) ext; assertNull(impl.getList()); }