@Test
public void testAsyncSendMessageMessage() throws MetaClientException, NotifyRemotingException {
String topic = "test-topic";
Partition partition = new Partition(0, 0);
String serverUrl = "meta://127.0.0.1:8123";
Message message = new Message(topic, "test".getBytes());
EasyMock.resetToNice(remotingClient);
EasyMock.expect(producerZooKeeper.selectPartition(topic, message, partitionSelector)).andReturn(partition);
EasyMock.expect(producerZooKeeper.selectBroker(topic, partition)).andReturn(serverUrl);
OpaqueGenerator.resetOpaque();
mocksControl.replay();