public static ExchangeServer bind(String url, Replier<?> replier) throws RemotingException {
        return bind(URL.valueOf(url), replier);
    }
@Test
    void testBind() throws RemotingException {
        String url = "dubbo://127.0.0.1:12345?exchanger=mockExchanger";
        Exchangers.bind(url, Mockito.mock(Replier.class));
        Exchangers.bind(url, new ChannelHandlerAdapter(), Mockito.mock(Replier.class));
        Exchangers.bind(url, new ExchangeHandlerDispatcher());

        Assertions.assertThrows(
                RuntimeException.class, () -> Exchangers.bind((URL) null, new ExchangeHandlerDispatcher()));
        Assertions.assertThrows(RuntimeException.class, () -> Exchangers.bind(url, (ExchangeHandlerDispatcher) null));
    }