@Test
public void testChangeName() throws RemotingException {

    DubboProtocol.getDubboProtocol().export(mockInvoker);
    String result = change.telnet(mockChannel, "com.alibaba.dubbo.rpc.protocol.dubbo.support.DemoService");
    assertEquals("Used the com.alibaba.dubbo.rpc.protocol.dubbo.support.DemoService as default.\r\nYou can cancel default service by command: cd /",
            result);
}