@Override
    @SuppressWarnings("all")
    public <T> Invoker<T> getInvoker(T proxy, Class<T> type, URL url) throws RpcException {
        return ((ServerService) proxy).getInvoker(url);
    }
@Test
    void getInvoker() {
        URL url = Mockito.mock(URL.class);
        Assertions.assertEquals(invoker2, factory.getInvoker(new MockStub(), MockInterface.class, url));
    }