@Override
    public void destroyChannel(String serverAddress, Channel channel) {
        if (LOGGER.isInfoEnabled()) {
            LOGGER.info("will destroy channel:{},address:{}", channel, serverAddress);
        }
        channel.disconnect();
        channel.close();
    }
@Test
	public void testDestroyChannel() {
		Channel channel = Mockito.mock(Channel.class);
		nettyRemotingServer.destroyChannel("127.0.0.1:8091", channel);
		Mockito.verify(channel).close();
	}