@Override
    protected void prepare(MessageTuple item) {
        channel.write(item.originMessage, item.channelPromise);
    }
@Test
    public void testPrepare() {
        Object message = new Object();
        NettyBatchWriteQueue.MessageTuple messageTuple = new NettyBatchWriteQueue.MessageTuple(message,
            mockChannelPromise);
        nettyBatchWriteQueue.prepare(messageTuple);

        Mockito.verify(mockChannel).write(eq(message), eq(mockChannelPromise));
    }