@Override
    public long searchOffset(MessageQueue mq, long timestamp) throws MQClientException {
        return this.defaultMQProducerImpl.searchOffset(queueWithNamespace(mq), timestamp);
    }
@Test
    public void assertSearchOffset() throws MQClientException, NoSuchFieldException, IllegalAccessException {
        setDefaultMQProducerImpl();
        MessageQueue mq = mock(MessageQueue.class);
        long result = producer.searchOffset(mq, System.currentTimeMillis());
        assertEquals(0L, result);
    }