public static LogEntry mockEntry(final int index, final int term) {
        return mockEntry(index, term, 0);
    }
Test helper

@author boyan (boyan@alibaba-inc.com)
<p>
2018-Apr-11 10:16:07 AM
jraft-core/src/test/java/com/alipay/sofa/jraft/test/TestUtils.java