Search in sources :

Example 1 with Ext6Impl2

use of com.alibaba.dubbo.common.extensionloader.ext6_inject.impl.Ext6Impl2 in project dubbo by alibaba.

the class ExtensionLoader_Adaptive_Test method test_getAdaptiveExtension_InjectNotExtFail.

@Test
public void test_getAdaptiveExtension_InjectNotExtFail() throws Exception {
    Ext6 ext = ExtensionLoader.getExtensionLoader(Ext6.class).getExtension("impl2");
    Ext6Impl2 impl = (Ext6Impl2) ext;
    assertNull(impl.getList());
}
Also used : Ext6Impl2(com.alibaba.dubbo.common.extensionloader.ext6_inject.impl.Ext6Impl2) Ext6(com.alibaba.dubbo.common.extensionloader.ext6_inject.Ext6) Test(org.junit.Test)

Aggregations

Ext6 (com.alibaba.dubbo.common.extensionloader.ext6_inject.Ext6)1 Ext6Impl2 (com.alibaba.dubbo.common.extensionloader.ext6_inject.impl.Ext6Impl2)1 Test (org.junit.Test)1