@Before
public void setUp() throws Exception {
this.mocksControl = EasyMock.createControl();
this.producerZooKeeper = this.mocksControl.createMock(ProducerZooKeeper.class);
this.partitionSelector = new RoundRobinPartitionSelector();
this.remotingClient = this.mocksControl.createMock(RemotingClientWrapper.class);
this.messageSessionFactory = this.mocksControl.createMock(MetaMessageSessionFactory.class);
this.processor = this.mocksControl.createMock(IgnoreMessageProcessor.class);
this.producer =
new AsyncMetaMessageProducer(messageSessionFactory, this.remotingClient, this.partitionSelector,