@Test
public void testGetExtensionByName() {

    DemoService bean = springExtensionFactory.getExtension(DemoService.class, "bean1");
    Assertions.assertNotNull(bean);
    HelloService hello = springExtensionFactory.getExtension(HelloService.class, "hello");
    Assertions.assertNotNull(hello);
}