@Override
    public <T> Exporter<T> export(Invoker<T> invoker) throws RpcException {
        return new InjvmExporter<>(invoker, invoker.getUrl().getServiceKey(), exporterMap);
    }
@Test
    void testLocalProtocolWithToken() {
        DemoService service = new DemoServiceImpl();
        Invoker<?> invoker = proxy.getInvoker(
                service,
                DemoService.class,
                URL.valueOf("injvm://127.0.0.1/TestService?token=abc")
                        .addParameter(INTERFACE_KEY, DemoService.class.getName())
                        .setScopeModel(ApplicationModel.defaultModel().getDefaultModule()));
        assertTrue(invoker.isAvailable());
        Exporter<?> exporter = protocol.export(invoker);
        exporters.add(exporter);
        service = proxy.getProxy(protocol.refer(
                DemoService.class,
                URL.valueOf("injvm://127.0.0.1/TestService")
                        .addParameter(INTERFACE_KEY, DemoService.class.getName())
                        .setScopeModel(ApplicationModel.defaultModel().getDefaultModule())));
        assertEquals(service.getSize(new String[] {"", "", ""}), 3);
    }