}
@Test
public void testGetStats() throws Exception {
ServerConfig serverConfig = new ServerConfig();
serverConfig.setWireFormatType(new MetamorphosisWireFormatType());
serverConfig.setPort(8199);
RemotingServer server = RemotingFactory.bind(serverConfig);
try {
server.registerProcessor(StatsCommand.class, new RequestProcessor<StatsCommand>() {
@Override