public long minOffset(MessageQueue mq) throws MQClientException {
        return this.mQClientFactory.getMQAdminImpl().minOffset(mq);
    }
@Test
    public void testMinOffset() throws MQClientException {
        assertEquals(0, defaultMQPushConsumerImpl.minOffset(createMessageQueue()));
    }