@Override
    public <T> Invoker<T> refer(Class<T> type, URL url) throws RpcException {
        startQosServer(url, false);
        return protocol.refer(type, url);
    }
@Test
    void testRefer() throws Exception {
        wrapper.refer(BaseCommand.class, url);
        assertThat(server.isStarted(), is(true));
        assertThat(server.getHost(), is("localhost"));
        assertThat(server.getPort(), is(12345));
        assertThat(server.isAcceptForeignIp(), is(false));
        verify(protocol).refer(BaseCommand.class, url);
    }